diff --git a/core/include/sys/types.h b/core/include/sys/types.h index 7f6a228..748d08d 100644 --- a/core/include/sys/types.h +++ b/core/include/sys/types.h @@ -2,6 +2,11 @@ #include +#if !defined(IN_LIMITS) +#define IN_LIMITS(v,min,max) ( (min<=v) && (v <= max) ) +#endif + + typedef int32_t APICALL; typedef struct {