Johannes Obermayr
2011-Dec-09 13:07 UTC
[LLVMdev] [PATCH] llvm-c/Core.h: Define __STDC_LIMIT_MACROS
--- 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
Eli Friedman
2011-Dec-09 23:17 UTC
[LLVMdev] [PATCH] llvm-c/Core.h: Define __STDC_LIMIT_MACROS
On Fri, Dec 9, 2011 at 5:07 AM, Johannes Obermayr <johannesobermayr at gmx.de> wrote:> --- > 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.7If you use "llvm-config --cflags", you should have that define already. -Eli
Seemingly Similar Threads
- [Bug 25258] New: [9400M] KMS and X do not use monitor's native resolution
- [Bug 24820] New: [nv15] Vertical screen corruption in X when KMS is enabled
- [Bug 45746] New: ION (NVAC) does not work with latest git kernel module
- [Bug 26577] New: [regression] Black screen with X on NV11 and NV31
- [Bug 53219] New: glxgears crashes kernel