From 69e314207d193eb67be0ae153d50c6c6bcee4b60 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 12 Nov 2023 13:34:42 +0000 Subject: internal: replace INT_MAX with WORKSPACE_INVALID --- src/macros.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/macros.hpp') diff --git a/src/macros.hpp b/src/macros.hpp index eada3a9f..c2eb98db 100644 --- a/src/macros.hpp +++ b/src/macros.hpp @@ -22,6 +22,8 @@ #define STRVAL_EMPTY "[[EMPTY]]" +#define WORKSPACE_INVALID -1L + #define LISTENER(name) \ void listener_##name(wl_listener*, void*); \ inline wl_listener listen_##name = {.notify = listener_##name} -- cgit v1.2.3