]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/timer.cpp
don't give error messages if ws2_32.dll is not available in wxGetHostName()
[wxWidgets.git] / src / gtk / timer.cpp
index f5330bc0123166c9d03163f7878c20a760991c87..0353bede8b243199015360d781ae7d88f23642c0 100644 (file)
@@ -8,11 +8,12 @@
 /////////////////////////////////////////////////////////////////////////////
 
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "timer.h"
 #endif
 
-#include "wx/defs.h"
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
 
 #if wxUSE_TIMER