this must have been in previous commit
This commit is contained in:
@@ -56,7 +56,7 @@ CBaseEntity *__entity_alloc_##name() \
|
||||
{ \
|
||||
return new class; \
|
||||
}; \
|
||||
CEntityRegistry __entity_##name##_registry(#name, #class, __entity_alloc_##name); \
|
||||
GLOBAL_USED CEntityRegistry __entity_##name##_registry(#name, #class, __entity_alloc_##name); \
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
@@ -22,12 +22,17 @@
|
||||
|
||||
#define DLL_GLOBAL_EXPORT extern __attribute ((visibility("default")))
|
||||
#define DLL_GLOBAL_IMPORT extern
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef TIER0_STATIC
|
||||
|
||||
#define GLOBAL_USED __attribute__((used))
|
||||
|
||||
#else
|
||||
|
||||
#define GLOBAL_USED __attribute__((used))
|
||||
|
||||
#ifdef TIER0_IMPLEMENTATION
|
||||
#define PLATFORM_INTERFACE DLL_EXPORT
|
||||
#define PLATFORM_OVERLOAD DLL_GLOBAL_EXPORT
|
||||
|
||||
Reference in New Issue
Block a user