Changes in uspace/lib/c/include/macros.h [af60409:7d7bc09] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/macros.h
raf60409 r7d7bc09 38 38 #define min(a, b) ((a) < (b) ? (a) : (b)) 39 39 #define max(a, b) ((a) > (b) ? (a) : (b)) 40 #define abs(a)((a) >= 0 ? (a) : -(a))40 #define mabs(a) ((a) >= 0 ? (a) : -(a)) 41 41 42 42 #define ARRAY_SIZE(array) (sizeof(array) / sizeof(array[0]))
Note:
See TracChangeset
for help on using the changeset viewer.