projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18d55dd
)
I was actually wrong in my "simplification".
author
Misha Brukman
<brukman+llvm@gmail.com>
Fri, 3 Sep 2004 19:46:43 +0000
(19:46 +0000)
committer
Misha Brukman
<brukman+llvm@gmail.com>
Fri, 3 Sep 2004 19:46:43 +0000
(19:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16156
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/DataTypes.h.in
patch
|
blob
|
history
diff --git
a/include/llvm/Support/DataTypes.h.in
b/include/llvm/Support/DataTypes.h.in
index c218193b932c45ac98cc592d48f50ad8dc94bd58..6b3aee8ce62efec9740e3debb7c1f6680cb6b563 100644
(file)
--- a/
include/llvm/Support/DataTypes.h.in
+++ b/
include/llvm/Support/DataTypes.h.in
@@
-36,12
+36,15
@@
@INCLUDE_INTTYPES_H@
@INCLUDE_SYS_TYPES_H@
@INCLUDE_STDINT_H@
-// Interix has u_int64_t, but not uint64_t
-#if !defined(HAVE_UINT64_T) && defined(HAVE_U_INT64_T)
+
+// Handle incorrect definition of uint64_t as u_int64_t
+#ifndef HAVE_UINT64_T
+#ifdef HAVE_U_INT64_T
typedef u_int64_t uint64_t;
#else
# error "Don't have a definition for uint64_t on this platform"
#endif
+#endif
#else
// Visual C++ doesn't provide standard integer headers, but it does provide