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:
parent
d4cccd7878
commit
5bd9de5e36
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user