From 08688972ae56b474e2e2fd954c5caaeb1233a1be Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 15 Jun 2025 13:59:30 +0800 Subject: init: server --- src/misc/macros.hpp | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/misc/macros.hpp (limited to 'src/misc/macros.hpp') diff --git a/src/misc/macros.hpp b/src/misc/macros.hpp new file mode 100644 index 0000000..02f5048 --- /dev/null +++ b/src/misc/macros.hpp @@ -0,0 +1,4 @@ +#pragma once + +#define UNLIKELY(expr) (expr) [[unlikely]] +#define LIKELY(expr) (expr) [[likely]] -- cgit v1.2.3