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:
Joshua Kwan 2004-01-31 08:41:00 +00:00
parent cdd0377d70
commit 9072f9c8db

View File

@ -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>