about summary refs log tree commit diff
path: root/arch/x86_64/bits/stdint.h
diff options
context:
space:
mode:
authorNicholas J. Kain <njkain@gmail.com>2011-02-15 07:32:09 -0500
committerNicholas J. Kain <njkain@gmail.com>2011-02-15 07:32:09 -0500
commit1e12632591ab98a6ea3af8680716c28282552981 (patch)
tree5b79bd9a0b950d6ab414fef8cbb5dfcd1a6d2e83 /arch/x86_64/bits/stdint.h
parentc2afb747b0296f23cd1903e82ccbdee3fc2978fd (diff)
downloadmusl-1e12632591ab98a6ea3af8680716c28282552981.tar.gz
musl-1e12632591ab98a6ea3af8680716c28282552981.tar.xz
musl-1e12632591ab98a6ea3af8680716c28282552981.zip
Port musl to x86-64. One giant commit!
Diffstat (limited to 'arch/x86_64/bits/stdint.h')
-rw-r--r--arch/x86_64/bits/stdint.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/x86_64/bits/stdint.h b/arch/x86_64/bits/stdint.h
new file mode 100644
index 00000000..878e4de2
--- /dev/null
+++ b/arch/x86_64/bits/stdint.h
@@ -0,0 +1,23 @@
+#define INT_FAST8_MIN   INT8_MIN
+#define INT_FAST16_MIN  INT32_MIN
+#define INT_FAST32_MIN  INT32_MIN
+#define INT_FAST64_MIN  INT64_MIN
+
+#define INT_FAST8_MAX   INT8_MAX
+#define INT_FAST16_MAX  INT32_MAX
+#define INT_FAST32_MAX  INT32_MAX
+#define INT_FAST64_MAX  INT64_MAX
+
+#define UINT_FAST8_MAX  UINT8_MAX
+#define UINT_FAST16_MAX UINT32_MAX
+#define UINT_FAST32_MAX UINT32_MAX
+#define UINT_FAST64_MAX UINT64_MAX
+
+#define INTPTR_MIN      INT64_MIN
+#define INTPTR_MAX      INT64_MAX
+#define UINTPTR_MAX     UINT64_MAX
+#define PTRDIFF_MIN     INT64_MIN
+#define PTRDIFF_MAX     INT64_MAX
+#define SIG_ATOMIC_MIN  INT64_MIN
+#define SIG_ATOMIC_MAX  INT64_MAX
+#define SIZE_MAX        UINT64_MAX