diff options
Diffstat (limited to 'src/basic/defs.hpp')
| -rw-r--r-- | src/basic/defs.hpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/basic/defs.hpp b/src/basic/defs.hpp deleted file mode 100644 index 858bdd7..0000000 --- a/src/basic/defs.hpp +++ /dev/null @@ -1,12 +0,0 @@ -#pragma once - -#include <cassert> - -#define ARRAY_COUNT(x) (sizeof(x) / sizeof(x[0])) - -#define InvalidDefaultCase assert(0) - -#define KIBIBYTES(x) ((x)*1024) -#define MEBIBYTES(x) ((x)*KIBIBYTES(1024)) -#define GIBIBYTES(x) ((x)*MEBIBYTES(1024)) - |
