1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-19 09:18:33 +00:00

Suppress empty-statement warning for XLOCK/XUNLOCK macro when not doing locking

This commit is contained in:
Nick Briggs 2023-02-21 12:06:28 -08:00
parent d4cccd7878
commit 5bd9de5e36

View File

@ -49,8 +49,8 @@ extern volatile sig_atomic_t XNeedSignal;
XLocked--; \
} while (0)
#else
#define XLOCK
#define XUNLOCK(dsp)
#define XLOCK do {} while (0)
#define XUNLOCK(dsp) do {} while (0)
#endif /* LOCK_X_UPDATES */
#endif /* XDEFS_H */