projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove compound literals from math.h to please c++
[musl]
/
include
/
stdint.h
diff --git
a/include/stdint.h
b/include/stdint.h
index
138fb21
..
7628404
100644
(file)
--- a/
include/stdint.h
+++ b/
include/stdint.h
@@
-39,8
+39,6
@@
typedef uint16_t uint_least16_t;
typedef uint32_t uint_least32_t;
typedef uint64_t uint_least64_t;
typedef uint32_t uint_least32_t;
typedef uint64_t uint_least64_t;
-#if !defined __cplusplus || defined __STDC_LIMIT_MACROS
-
#define INT8_MIN (-1-0x7f)
#define INT16_MIN (-1-0x7fff)
#define INT32_MIN (-1-0x7fffffff)
#define INT8_MIN (-1-0x7f)
#define INT16_MIN (-1-0x7fff)
#define INT32_MIN (-1-0x7fffffff)
@@
-88,10
+86,6
@@
typedef uint64_t uint_least64_t;
#include <bits/stdint.h>
#include <bits/stdint.h>
-#endif
-
-#if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
-
#define INT8_C(c) c
#define INT16_C(c) c
#define INT32_C(c) c
#define INT8_C(c) c
#define INT16_C(c) c
#define INT32_C(c) c
@@
-113,5
+107,3
@@
typedef uint64_t uint_least64_t;
#endif
#endif
#endif
#endif
-
-#endif