forked from haraldwolff/avr-fw-modules
Added Macro IN_LIMITS to sys/types.h tio be available globally
parent
724686944d
commit
ea7b22b4eb
|
@ -2,6 +2,11 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
#if !defined(IN_LIMITS)
|
||||
#define IN_LIMITS(v,min,max) ( (min<=v) && (v <= max) )
|
||||
#endif
|
||||
|
||||
|
||||
typedef int32_t APICALL;
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Reference in New Issue