X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/293d3988da067efcdef968ceead0f74c65b2778c..2feed0044e8c8c99667da7bf8ecca52c4c707c05:/src/mac/pnghand.cpp

diff --git a/src/mac/pnghand.cpp b/src/mac/pnghand.cpp
index 90b59669f0..358515d283 100644
--- a/src/mac/pnghand.cpp
+++ b/src/mac/pnghand.cpp
@@ -31,7 +31,7 @@
 #   include <fstream>
 #endif
 
-#ifndef __WXMAC_X__
+#ifndef __DARWIN__
 #  include <windows.h>
 #endif
 #include "wx/msgdlg.h"