summaryrefslogtreecommitdiff
path: root/src/macros.h
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2021-01-27 22:06:49 +0100
committerJoel Klinghed <the_jk@spawned.biz>2021-01-27 22:06:49 +0100
commit06950aab233de6a2f47293d59575bb42f6131660 (patch)
tree62f6eed4a6d35414f656d22b9ac7420849018a11 /src/macros.h
parent1ef9c463f1efc1adfb62e42ab3dd17e8c6394373 (diff)
Complete rewrite using C++ and with shared state support
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/macros.h b/src/macros.h
deleted file mode 100644
index 06d59c6..0000000
--- a/src/macros.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * \file macros.h
- * Part of common.h, defines common small macros if needed
- */
-
-#ifndef MACROS_H
-#define MACROS_H
-
-#ifndef MIN
-/** x < y ? x : y */
-# define MIN(_x, _y) (((_x) < (_y)) ? (_x) : (_y))
-#endif
-
-#ifndef MAX
-/** x > y ? x : y */
-# define MAX(_x, _y) (((_x) > (_y)) ? (_x) : (_y))
-#endif
-
-#endif /* MACROS_H */