Explorar el Código

Patched to compile on OpenWatcom.

Ryan C. Gordon hace 8 años
padre
commit
8553113870
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      src/physfs_lzmasdk.h

+ 4 - 1
src/physfs_lzmasdk.h

@@ -1503,7 +1503,10 @@ static void MyCPUID(UInt32 function, UInt32 *a, UInt32 *b, UInt32 *c, UInt32 *d)
     : "0" (function)) ;
 
   #endif
-  
+
+  #elif defined(__WATCOMC__)
+  *a = *b = *c = *d = 0;  /* !!! FIXME: oh well for now. */
+
   #else
 
   int CPUInfo[4];