summaryrefslogtreecommitdiff
path: root/src/libctor.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2022-08-24 22:44:05 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2022-08-24 22:44:05 +0200
commita2b83596438eac9353acf254ca91842697f6001a (patch)
tree6ac075ac6f6d30b5e30a62673b7d5968df91a5e9 /src/libctor.h
parentc8e7d8922310108f2d46189a8f48abcb68e72534 (diff)
WIP: Move
Diffstat (limited to 'src/libctor.h')
-rw-r--r--src/libctor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libctor.h b/src/libctor.h
index e4ea7e7..c91777e 100644
--- a/src/libctor.h
+++ b/src/libctor.h
@@ -116,10 +116,10 @@ int reg(ExternalConfigurations (*cb)(const Settings&),
const std::source_location location = std::source_location::current());
// Convenience macro - ugly but keeps things simple(r)
-#define CONCAT(a, b) CONCAT_INNER(a, b)
-#define CONCAT_INNER(a, b) a ## b
-#define UNIQUE_NAME(base) CONCAT(base, __LINE__)
-#define REG(cb) namespace { int UNIQUE_NAME(unique) = reg(cb); }
+#define CTOR_CONCAT(a, b) CTOR_CONCAT_INNER(a, b)
+#define CTOR_CONCAT_INNER(a, b) a ## b
+#define CTOR_UNIQUE_NAME(base) CTOR_CONCAT(base, __LINE__)
+#define REG(cb) namespace { int CTOR_UNIQUE_NAME(unique) = reg(cb); }
// Predefined configuration keys
namespace cfg