Compilation fix
This commit is contained in:
@@ -67,7 +67,8 @@
|
|||||||
#define CONVERT_UINT_PTR(x) ((uint32_t *)(x))
|
#define CONVERT_UINT_PTR(x) ((uint32_t *)(x))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// returns the number of elements of an array
|
#if !defined(DIM)
|
||||||
#define DIM(arr) (sizeof((arr)) / sizeof((arr)[0]))
|
#define DIM(__arr) (sizeof((__arr)) / sizeof((__arr)[0]))
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // _DEFINITIONS_H_
|
#endif // _DEFINITIONS_H_
|
||||||
|
|||||||
Reference in New Issue
Block a user