Port bld cache to linux successfuly

This commit is contained in:
Krzosa Karol
2024-01-05 13:41:29 +01:00
parent 84f8cb1596
commit 6e38cb160e
5 changed files with 76 additions and 13 deletions

View File

@@ -80,6 +80,26 @@
#define FORCE_INLINE inline
#endif
#if OS_MAC
#define ON_MAC(x) x
#else
#define ON_MAC(x)
#endif
#if OS_WINDOWS
#define ON_WINDOWS(x) x
#define IF_WINDOWS_ELSE(x, y) x
#else
#define ON_WINDOWS(x)
#define IF_WINDOWS_ELSE(x, y) y
#endif
#if OS_LINUX
#define ON_LINUX(x) x
#else
#define ON_LINUX(x)
#endif
// #if COMPILER_CLANG
// #pragma clang diagnostic push
// #pragma clang diagnostic ignored "-Wmicrosoft-enum-forward-reference"