aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Support/DataTypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/DataTypes.h b/include/llvm/Support/DataTypes.h
index 2f6947963c..0b20d90acd 100644
--- a/include/llvm/Support/DataTypes.h
+++ b/include/llvm/Support/DataTypes.h
@@ -20,6 +20,7 @@
#define LLVM_SUPPORT_DATATYPES_H
#ifdef LINUX
+#define __STDC_LIMIT_MACROS 1
#include <stdint.h> // Defined by ISO C 99
#include <endian.h>