Explorar o código

Change arith type to force it to be 32bit.

Godzil %!s(int64=11) %!d(string=hai) anos
pai
achega
5362498c1c
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  1. 8 1
      lang/cem/cpp.ansi/arith.h

+ 8 - 1
lang/cem/cpp.ansi/arith.h

@@ -15,4 +15,11 @@
 
 /*	All preprocessor arithmetic should be done in longs.
 */
-#define	arith	long				/* dummy */
+#ifndef LANG_CEM_CPP_ANSI_ARITH_H
+#define LANG_CEM_CPP_ANSI_ARITH_H
+
+#include <stdint.h>
+
+#define	arith	int32_t				/* dummy */
+
+#endif /* LANG_CEM_CPP_ANSI_ARITH_H */