mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Move STR() and CAT() into defs.h.
I'm actually quite surprised there was only _one_ copy of each of these standard macros in the code base, given my general habit of casually redefining them anywhere I need them! But each one was in a silly place. Moved them up to the top level where they're available globally.
This commit is contained in:
@ -44,8 +44,6 @@
|
||||
#include <X11/Xatom.h>
|
||||
#endif
|
||||
|
||||
#define CAT2(x,y) x ## y
|
||||
#define CAT(x,y) CAT2(x,y)
|
||||
#define ASSERT(x) enum {CAT(assertion_,__LINE__) = 1 / (x)}
|
||||
|
||||
#if GTK_CHECK_VERSION(2,0,0)
|
||||
|
Reference in New Issue
Block a user