bracket enum declarations with preprocessor defines to avoid

redefinition of the same enums.
This commit is contained in:
richard committed 2001-02-10 18:13:32 +00:00
1 parent e4ce88e7f1
commit 14f2db1eb2
3 files changed
+9 -3

No files matched your search

+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"