diff options
Diffstat (limited to 'include/global.h')
-rw-r--r-- | include/global.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h index 35d0c3aa..67744d42 100644 --- a/include/global.h +++ b/include/global.h @@ -5,6 +5,8 @@ #include "function_target.h" #include "nitro.h" +#define NELEMS(a) (sizeof(a) / sizeof(*(a))) + enum GameVersion { VERSION_SAPPHIRE = 1, VERSION_RUBY = 2, |