]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcprint.h
use gettimeofday() instead of clock_gettime() as the latter lives in librt which...
[wxWidgets.git] / include / wx / dcprint.h
index 8f976472f2455e9196dbdc96390d2e6d9603f2b8..10936c4781c245ac62edac5471ea2b31b6f553d8 100644 (file)
 #ifndef _WX_DCPRINT_H_BASE_
 #define _WX_DCPRINT_H_BASE_
 
 #ifndef _WX_DCPRINT_H_BASE_
 #define _WX_DCPRINT_H_BASE_
 
+#include "wx/defs.h"
+
+#if wxUSE_PRINTING_ARCHITECTURE
+
 #if defined(__WXPALMOS__)
 #include "wx/palmos/dcprint.h"
 #elif defined(__WXMSW__)
 #if defined(__WXPALMOS__)
 #include "wx/palmos/dcprint.h"
 #elif defined(__WXMSW__)
@@ -24,5 +28,6 @@
 #include "wx/mac/dcprint.h"
 #endif
 
 #include "wx/mac/dcprint.h"
 #endif
 
+#endif // wxUSE_PRINTING_ARCHITECTURE
 #endif
     // _WX_DCPRINT_H_BASE_
 #endif
     // _WX_DCPRINT_H_BASE_