Don't include gdkwin32.h when testing Objective-C++
Fixes bug #594644. If somebody actually some day needs to include gdkwin32.h from an Objective-C++ program something needs to be done.
This commit is contained in:
parent
088baaec31
commit
2e0b5580ef
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,7 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef __OBJC__
|
||||
#ifdef GDK_WINDOWING_WIN32
|
||||
#define gdk_display gdk_display_win32
|
||||
#include <gdk/win32/gdkwin32.h>
|
||||
|
|
@ -25,6 +26,7 @@
|
|||
#undef GDK_DISPLAY
|
||||
#undef GDK_ROOT_WINDOW
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
#define gdk_display gdk_display_x11
|
||||
|
|
|
|||
Loading…
Reference in a new issue