From: Michael Beck Date: Tue, 12 Sep 2006 13:18:41 +0000 (+0000) Subject: Added 64bit types (currently used only in the backend for statistic purposes X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=6b42a546823a8851ab67bb8279480de88bf54d0d;p=libfirm Added 64bit types (currently used only in the backend for statistic purposes [r8225] --- diff --git a/ir/common/firm_types.h b/ir/common/firm_types.h index 0c3d71f7f..3d461476d 100644 --- 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;