diff options
author | pryazha <pryadeiniv@mail.ru> | 2025-09-11 19:22:37 +0500 |
---|---|---|
committer | pryazha <pryadeiniv@mail.ru> | 2025-09-11 19:22:37 +0500 |
commit | dfda6b6e55f75cc0dd77b13b08d83d8ca3b3842f (patch) | |
tree | 2d05cfd65c3484ba6646401377f82fee0b6c1e90 /prb.h | |
parent | df812fe56644498e893f3ccb02e9595bc79ce01d (diff) |
change final build target to libprb.a that one can link with
Diffstat (limited to 'prb.h')
-rw-r--r-- | prb.h | 38 |
1 files changed, 15 insertions, 23 deletions
@@ -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 |