can't use static globals on static libs

This commit is contained in:
2025-02-04 21:23:51 -05:00
parent 3bce2e9b8a
commit dda70fce36
2 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,7 @@
#endif // GEN_API
#ifndef global // Global variables
# ifdef GEN_DYN_EXPORT
# if defined(GEN_STATIC_LINK) || defined(GEN_DYN_LINK)
# define global
# else
# define global static