summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-03-05 16:26:14 +0100
committerAlexander Larsson <alexl@redhat.com>2010-03-05 16:27:38 +0100
commit9e38a06bb5996bcbbbf4813d90fbd10d87c5d740 (patch)
treea08803ebe6f08eb2f5c42c53f81f3ac20a435956 /include
parent43d86f9e38436d07066cf667ee4ed0b94d54a28c (diff)
Fix build failure due to already defined SIZE_MAX
Diffstat (limited to 'include')
-rw-r--r--include/stdint.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/stdint.h b/include/stdint.h
index 8b94f37..25920dc 100644
--- a/include/stdint.h
+++ b/include/stdint.h
@@ -292,8 +292,9 @@ typedef unsigned long long uintmax_t;
+#ifndef SIZE_MAX
#define SIZE_MAX UINT32_MAX
-
+#endif
#ifndef WCHAR_MIN /* also in wchar.h */