Add compiler.h specific macros.
This commit is contained in:
parent
21c4c1eb98
commit
a80c52bedd
7
src/compiler.h
Normal file
7
src/compiler.h
Normal file
@ -0,0 +1,7 @@
|
||||
#ifndef COMPILER_H
|
||||
#define COMPILER_H
|
||||
|
||||
#define countof(a) (sizeof(a) / sizeof(*(a)))
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user