sources/basics.h

changeset 189
248d0b85cbda
parent 181
e254398fcc7c
child 190
90bf9049e5eb
equal deleted inserted replaced
188:5fc32e4b2a8c 189:248d0b85cbda
123 char (&_ArraySizeHelper(T (&array)[N]))[N]; 123 char (&_ArraySizeHelper(T (&array)[N]))[N];
124 #define countof(array) (sizeof(_ArraySizeHelper( array ))) 124 #define countof(array) (sizeof(_ArraySizeHelper( array )))
125 125
126 struct Exitception {}; 126 struct Exitception {};
127 127
128 #ifdef __GNUC__
129 # define GNUATTRIBUTE(X) __attribute__(X)
130 #else
131 # define GNUATTRIBUTE(X)
132 #endif
133
128 END_ZFC_NAMESPACE 134 END_ZFC_NAMESPACE

mercurial