aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/options/linux/include/values.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-07 17:28:52 -0500
committerIan Moffett <ian@osmora.org>2024-03-07 18:24:51 -0500
commitf5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 (patch)
tree93b156621dc0303816b37f60ba88051b702d92f6 /lib/mlibc/options/linux/include/values.h
parentbd5969fc876a10b18613302db7087ef3c40f18e1 (diff)
build: Build mlibc + add distclean target
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/mlibc/options/linux/include/values.h')
-rw-r--r--lib/mlibc/options/linux/include/values.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/lib/mlibc/options/linux/include/values.h b/lib/mlibc/options/linux/include/values.h
deleted file mode 100644
index 55a50cd..0000000
--- a/lib/mlibc/options/linux/include/values.h
+++ /dev/null
@@ -1,39 +0,0 @@
-
-#ifndef _VALUES_H
-#define _VALUES_H
-
-#include <limits.h>
-#include <float.h>
-
-#define CHARBITS (sizeof(char) * 8)
-#define SHORTBITS (sizeof(short) * 8)
-#define INTBITS (sizeof(int) * 8)
-#define LONGBITS (sizeof(long) * 8)
-#define PTRBITS (sizeof(char *) * 8)
-#define DOUBLEBITS (sizeof(double) * 8)
-#define FLOATBITS (sizeof(float) * 8)
-
-#define MINSHORT SHRT_MIN
-#define MININT INT_MIN
-#define MINLONG LONG_MIN
-
-#define MAXSHORT SHRT_MAX
-#define MAXINT INT_MAX
-#define MAXLONG LONG_MAX
-
-#define HIBITS MINSHORT
-#define HIBITL MINLONG
-
-#define MAXDOUBLE DBL_MAX
-#define MAXFLOAT FLT_MAX
-#define MINDOUBLE DBL_MIN
-#define MINFLOAT FLT_MIN
-#define DMINEXP DBL_MIN_EXP
-#define FMINEXP FLT_MIN_EXP
-#define DMAXEXP DBL_MAX_EXP
-#define FMAXEXP FLT_MAX_EXP
-
-#define BITSPERBYTE CHAR_BIT
-
-#endif // _VALUES_H
-