Added 64bit types (currently used only in the backend for statistic purposes
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 12 Sep 2006 13:18:41 +0000 (13:18 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 12 Sep 2006 13:18:41 +0000 (13:18 +0000)
[r8225]

ir/common/firm_types.h

index 0c3d71f..3d46147 100644 (file)
 #ifndef _FIRM_TYPES_H_
 #define _FIRM_TYPES_H_
 
+#ifdef _MSC_VER
+typedef          __int64 long64;
+typedef unsigned __int64 ulong64;
+
+#define LL_FMT "i64"
+#define ULL_FMT        "ui64"
+
+#else
+typedef          long long long64;
+typedef unsigned long long long64;
+
+#define LL_FMT "ll"
+#define ULL_FMT        "llu"
+
+#endif /* _MSC_VER */
+
 #ifndef _IDENT_TYPEDEF_
 #define _IDENT_TYPEDEF_
 typedef const struct _ident ident;