summaryrefslogtreecommitdiff
path: root/prb.h
diff options
context:
space:
mode:
Diffstat (limited to 'prb.h')
-rw-r--r--prb.h38
1 files changed, 15 insertions, 23 deletions
diff --git a/prb.h b/prb.h
index fad7ff0..829f294 100644
--- a/prb.h
+++ b/prb.h
@@ -1,30 +1,22 @@
-#ifndef PRB_H
-#define PRB_H
+#ifndef prb_h
+#define prb_h
-#include <stdint.h>
-#include <math.h>
-#include <stdarg.h>
-#include <stddef.h>
-#include <stdio.h>
+#include "types.h"
+#include "macros.h"
+#include "sys.h"
+#include "arena.h"
+#include "prbm.h"
+#include "prbs.h"
-#include "prb_types.h"
-#include "prb_macros.h"
-#include "prb_math.h"
-#include "prb_arena.h"
-#include "prb_sys.h"
-#include "prb_string.h"
-
-#define OS_NONE 0
-#define OS_WINDOWS 1
-#define OS_LINUX 2
+#define os_none 0
+#define os_windows 1
+#define os_linux 2
#if defined(__linux)
-#define OS OS_LINUX
-#include "prb_linux.h"
+# define os os_linux
#elif defined(__WIN64)
-#define OS OS_WINDOWS
-#include <windows.h>
-#include "prb_windows.h"
+# define os os_windows
+# include <windows.h>
#endif
-#endif /* PRB_H */
+#endif