aboutsummaryrefslogtreecommitdiff
path: root/source/Macros.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-30 15:56:29 -0700
committerrtk0c <[email protected]>2022-05-30 15:56:29 -0700
commit80afa67d2b9f1c0605696a3fd69058544fe12fe4 (patch)
tree3dfe2a6f45e4f5ca8ad534baf06d76d9c558333b /source/Macros.hpp
parent0d92ecfdbfc875a099d9e83714b3a2209668fca5 (diff)
parent7d8bca09b3c4bf1418e758bd3bd0d6f85672153e (diff)
Changeset: 53
Diffstat (limited to 'source/Macros.hpp')
-rw-r--r--source/Macros.hpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/source/Macros.hpp b/source/Macros.hpp
deleted file mode 100644
index b5d05fa..0000000
--- a/source/Macros.hpp
+++ /dev/null
@@ -1,29 +0,0 @@
-#pragma once
-
-#define STRINGIFY_IMPL(text) #text
-#define STRINGIFY(text) STRINGIFY_IMPL(text)
-
-#define CONCAT_IMPL(a, b) a##b
-#define CONCAT(a, b) CONCAT_IMPL(a, b)
-#define CONCAT_3(a, b, c) CONCAT(a, CONCAT(b, c))
-#define CONCAT_4(a, b, c, d) CONCAT(CONCAT(a, b), CONCAT(c, d))
-
-#define UNIQUE_NAME(prefix) CONCAT(prefix, __COUNTER__)
-#define UNIQUE_NAME_LINE(prefix) CONCAT(prefix, __LINE__)
-#define DISCARD UNIQUE_NAME(_discard)
-
-#define UNUSED(x) (void)x;
-
-#if defined(_MSC_VER)
-# define UNREACHABLE __assume(0)
-#elif defined(__GNUC__) || defined(__clang__)
-# define UNREACHABLE __builtin_unreachable()
-#else
-# define UNREACHABLE
-#endif
-
-#if _WIN32
-# define PLATFORM_PATH_STR "%ls"
-#else
-# define PLATFORM_PATH_STR "%s"
-#endif