diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2012-02-19 23:10:43 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2012-02-23 19:03:25 +0100 |
commit | a343a280a9febaf384816d9bbcabab67b05e37a5 (patch) | |
tree | 8458593b4d7bc64c1addef4dbb62dfc9586da969 /common | |
parent | df3fe9cb90aaeb30f029428cf9030e2526768d08 (diff) |
mingw: don't redefine SIZE_MAX
mingw already has SIZE_MAX defined so don't try to redefine it to
avoid a warning.
Diffstat (limited to 'common')
-rw-r--r-- | common/stdint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/stdint.h b/common/stdint.h index 250efb5..411f5bf 100644 --- a/common/stdint.h +++ b/common/stdint.h @@ -296,7 +296,9 @@ typedef unsigned long long uintmax_t; +#ifndef SIZE_MAX #define SIZE_MAX UINT32_MAX +#endif |