Add compiler.h specific macros.

This commit is contained in:
giomba 2023-10-22 11:40:57 +02:00
parent 21c4c1eb98
commit a80c52bedd

7
src/compiler.h Normal file
View File

@ -0,0 +1,7 @@
#ifndef COMPILER_H
#define COMPILER_H
#define countof(a) (sizeof(a) / sizeof(*(a)))
#endif