fir for Sun CC 6.0 compilation of wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e545ddb6e5
commit
4ea45e6ba3
@ -32,17 +32,25 @@
|
|||||||
#endif // PCH
|
#endif // PCH
|
||||||
|
|
||||||
#ifdef __X__
|
#ifdef __X__
|
||||||
#ifdef __VMS__
|
#ifdef __VMS__
|
||||||
#pragma message disable nosimpint
|
#pragma message disable nosimpint
|
||||||
#endif
|
#endif
|
||||||
#include <X11/Xlib.h>
|
|
||||||
#ifdef __VMS__
|
#include <X11/Xlib.h>
|
||||||
#pragma message enable nosimpint
|
|
||||||
#endif
|
#ifdef __VMS__
|
||||||
|
#pragma message enable nosimpint
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/utils.h" // for wxGetDisplay()
|
#include "wx/utils.h" // for wxGetDisplay()
|
||||||
#elif defined(__WXGTK__)
|
#elif defined(__WXGTK__)
|
||||||
#include "gdk/gdk.h"
|
// we have to declare struct tm to avoid problems with first forward
|
||||||
|
// declaring it in C code (glib.h included from gdk.h does it) and then
|
||||||
|
// defining it when time.h is included from the headers below - this is
|
||||||
|
// known not to work at least with Sun CC 6.01
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
|
#include <gdk/gdk.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/fontutil.h"
|
#include "wx/fontutil.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user