mirror of
https://github.com/Ed94/gencpp.git
synced 2025-06-15 03:01:47 -07:00
can't use static globals on static libs
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user