projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f4790a
)
Added 64bit types (currently used only in the backend for statistic purposes
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 12 Sep 2006 13:18:41 +0000
(13:18 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 12 Sep 2006 13:18:41 +0000
(13:18 +0000)
[r8225]
ir/common/firm_types.h
patch
|
blob
|
history
diff --git
a/ir/common/firm_types.h
b/ir/common/firm_types.h
index
0c3d71f
..
3d46147
100644
(file)
--- a/
ir/common/firm_types.h
+++ b/
ir/common/firm_types.h
@@
-11,6
+11,22
@@
#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;