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
|
||||
|
||||
#ifndef ARRAY_SIZE
|
||||
# define ARRAY_SIZE(x) sizeof(x) / sizeof(x[0])
|
||||
# define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
|
||||
#endif
|
||||
|
||||
#include <fcntl.h>
|
||||
|
|
Loading…
Reference in New Issue