Don't define ELF, use __ELF__ instead
This commit is contained in:
1 parent
527a5ddb1d
commit
6f85c247e3
2 files changed
+2
-6
No files matched your search
+1
-5
@@ -24,15 +24,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
#include "../qcommon/q_platform.h"
|
||||
|
||||
#if defined(__MINGW32__) || defined(MACOS_X)
|
||||
#undef ELF
|
||||
#endif
|
||||
|
||||
#ifdef __ELF__
|
||||
.section .note.GNU-stack,"",@progbits
|
||||
#endif
|
||||
|
||||
#ifdef ELF
|
||||
#ifdef __ELF__
|
||||
#define C(label) label
|
||||
#else
|
||||
#define C(label) _##label
|
||||
|
||||
Reference in new issue
Block a user