Explorar o código

Fix packing on mingw

Andrew Pamment %!s(int64=5) %!d(string=hai) anos
pai
achega
79145da550
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      OpenDoor.h

+ 2 - 2
OpenDoor.h

@@ -560,7 +560,7 @@ typedef void(ODFAR OD_PERSONALITY_PROC)(BYTE);
 #pragma option -a-
 #endif /* __TURBOC__ >= 0x295 */
 #endif /* __TURBOC__ */
-#ifdef _MSC_VER
+#if defined(_MSC_VER) || defined(WIN32)
 #pragma pack(1)
 #endif /* _MSC_VER */
 
@@ -852,7 +852,7 @@ typedef struct
 } tODControl;
 
 /* Restore original structure alignment, if possible. */
-#ifdef _MSC_VER
+#if defined(_MSC_VER) || defined(WIN32)
 #pragma pack()
 #endif /* _MSC_VER */