Sfoglia il codice sorgente

Common: Make a #else more apparent.

Emmanuel Gil Peyrot 11 anni fa
parent
commit
4c684fb274
1 ha cambiato i file con 1 aggiunte e 5 eliminazioni
  1. 1 5
      src/common/platform.h

+ 1 - 5
src/common/platform.h

@@ -83,7 +83,7 @@ inline struct tm* localtime_r(const time_t *clock, struct tm *result) {
 }
 }
 #endif
 #endif
 
 
-#else
+#else // EMU_PLATFORM != PLATFORM_WINDOWS
 
 
 #define EMU_FASTCALL __attribute__((fastcall))
 #define EMU_FASTCALL __attribute__((fastcall))
 #define __stdcall
 #define __stdcall
@@ -92,10 +92,6 @@ inline struct tm* localtime_r(const time_t *clock, struct tm *result) {
 #define BOOL bool
 #define BOOL bool
 #define DWORD u32
 #define DWORD u32
 
 
-#endif
-
-#if EMU_PLATFORM != PLATFORM_WINDOWS
-
 // TODO: Hacks..
 // TODO: Hacks..
 #include <limits.h>
 #include <limits.h>