mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 20:43:15 +00:00
Fixed whole program (link-time) optimization build with Clang
This commit is contained in:
parent
39e2ebe425
commit
0a5dd94072
2 changed files with 4 additions and 4 deletions
|
@ -52,7 +52,7 @@ class FScanner;
|
|||
#define GCC_YSEG
|
||||
#else
|
||||
#define MSVC_YSEG
|
||||
#define GCC_YSEG __attribute__((section(SECTION_YREG)))
|
||||
#define GCC_YSEG __attribute__((section(SECTION_YREG))) __attribute__((used))
|
||||
#endif
|
||||
|
||||
struct FIntermissionDescriptor;
|
||||
|
|
|
@ -266,11 +266,11 @@ enum EDefinitionType
|
|||
#define GCC_MSEG
|
||||
#else
|
||||
#define MSVC_ASEG
|
||||
#define GCC_ASEG __attribute__((section(SECTION_AREG)))
|
||||
#define GCC_ASEG __attribute__((section(SECTION_AREG))) __attribute__((used))
|
||||
#define MSVC_PSEG
|
||||
#define GCC_PSEG __attribute__((section(SECTION_GREG)))
|
||||
#define GCC_PSEG __attribute__((section(SECTION_GREG))) __attribute__((used))
|
||||
#define MSVC_MSEG
|
||||
#define GCC_MSEG __attribute__((section(SECTION_MREG)))
|
||||
#define GCC_MSEG __attribute__((section(SECTION_MREG))) __attribute__((used))
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue