mirror of
https://github.com/paxed/dgamelaunch.git
synced 2025-07-31 01:24:43 +02:00
make sure precedence doens't bite ARRAY_SIZE in the ass
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@202 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
cdd0377d70
commit
9072f9c8db
@ -65,7 +65,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef ARRAY_SIZE
|
#ifndef ARRAY_SIZE
|
||||||
# define ARRAY_SIZE(x) sizeof(x) / sizeof(x[0])
|
# define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user