瀏覽代碼

Change arith type to force it to be 32bit.

Godzil 11 年之前
父節點
當前提交
5362498c1c
共有 1 個文件被更改,包括 8 次插入1 次删除
  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 */