ソースを参照

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 */