From e2167c661c3a036537c536eac3b122b075bdf890 Mon Sep 17 00:00:00 2001 From: Edoardo Prezioso Date: Tue, 22 Nov 2016 21:16:13 +0100 Subject: [PATCH] - Fixed GCC/Clang compile errors. --- src/doomtype.h | 2 ++ src/virtual.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/doomtype.h b/src/doomtype.h index 129c5f1221..a9818df78c 100644 --- a/src/doomtype.h +++ b/src/doomtype.h @@ -264,12 +264,14 @@ char ( &_ArraySizeHelper( T (&array)[N] ))[N]; #ifdef __MACH__ #define SECTION_AREG "__DATA,areg" #define SECTION_CREG "__DATA,creg" +#define SECTION_FREG "__DATA,freg" #define SECTION_GREG "__DATA,greg" #define SECTION_MREG "__DATA,mreg" #define SECTION_YREG "__DATA,yreg" #else #define SECTION_AREG "areg" #define SECTION_CREG "creg" +#define SECTION_FREG "freg" #define SECTION_GREG "greg" #define SECTION_MREG "mreg" #define SECTION_YREG "yreg" diff --git a/src/virtual.h b/src/virtual.h index 8842eb891f..f3167407d8 100644 --- a/src/virtual.h +++ b/src/virtual.h @@ -228,4 +228,4 @@ VMEXPORT_NATIVES_END(AActor) /* VMEXPORT_NATIVES_START(AActor, DThinker) VMEXPORT_NATIVES_END(AActor) -*/ \ No newline at end of file +*/