Fixes for building all library types

This commit is contained in:
2025-01-30 13:57:42 -05:00
parent 16bc66c80e
commit bdd9c9bcdf
3 changed files with 11 additions and 3 deletions

View File

@ -25,8 +25,12 @@
#endif
#endif // GEN_API
#ifndef global
#define global static // Global variables
#ifndef global // Global variables
# ifdef GEN_DYN_EXPORT
# define global
# else
# define global static
# endif
#endif
#ifndef internal
#define internal static // Internal linkage