mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Some systems define this already.
This commit is contained in:
parent
1c467fce7a
commit
11ca2b408d
1
noice.c
1
noice.c
|
@ -33,6 +33,7 @@
|
||||||
#endif /* DEBUG */
|
#endif /* DEBUG */
|
||||||
|
|
||||||
#define LEN(x) (sizeof(x) / sizeof(*(x)))
|
#define LEN(x) (sizeof(x) / sizeof(*(x)))
|
||||||
|
#undef MIN
|
||||||
#define MIN(x, y) ((x) < (y) ? (x) : (y))
|
#define MIN(x, y) ((x) < (y) ? (x) : (y))
|
||||||
#define ISODD(x) ((x) & 1)
|
#define ISODD(x) ((x) & 1)
|
||||||
#define CONTROL(c) ((c) ^ 0x40)
|
#define CONTROL(c) ((c) ^ 0x40)
|
||||||
|
|
Loading…
Reference in a new issue