1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-06-10 20:25:24 +02:00

bracket enum declarations with preprocessor defines to avoid

redefinition of the same enums.
This commit is contained in:
richard
2001-02-10 18:13:32 +00:00
parent e4ce88e7f1
commit 14f2db1eb2
3 changed files with 9 additions and 3 deletions
+3 -2
View File
@@ -53,7 +53,8 @@ enum {
WMTitleBarMain = 2
};
#ifndef _WINGS_H_
#ifndef _DEFINED_GNUSTEP_WINDOW_INFO
#define _DEFINED_GNUSTEP_WINDOW_INFO
/*
* Window levels are taken from GNUstep (gui/AppKit/NSWindow.h)
* NSDesktopWindowLevel intended to be the level at which things
@@ -88,7 +89,7 @@ enum {
WMIconWindowMask = 64,
WMMiniWindowMask = 128
};
#endif /* _WINGS_H_ */
#endif
/* window manager -> appkit notifications */
#define GNUSTEP_WM_NOTIFICATION "GNUSTEP_WM_NOTIFICATION"