[LLVMdev] [PATCH] llvm-c/Core.h: Define __STDC_LIMIT_MACROS

Johannes Obermayr johannesobermayr at gmx.de
Fri Dec 9 05:07:28 PST 2011


---
 include/llvm-c/Core.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 3ffaddd..becba7f 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -33,6 +33,10 @@
 #ifndef LLVM_C_CORE_H
 #define LLVM_C_CORE_H
 
+#ifndef __STDC_LIMIT_MACROS
+#define __STDC_LIMIT_MACROS
+#endif
+
 #include "llvm/Support/DataTypes.h"
 
 #ifdef __cplusplus
-- 
1.7.7




More information about the llvm-dev mailing list