]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/streams/textstreamtest.cpp
Include <fcntl.h> from a header using fcntl().
[wxWidgets.git] / tests / streams / textstreamtest.cpp
index 1d1ec0375b912330bc68e78344cc9c74e503a879..aa089980fd29441dd9642b4e424af4aedaaf7096 100644 (file)
@@ -93,7 +93,7 @@ TextStreamTestCase::TextStreamTestCase()
 {
 }
 
-#if defined(__WXMSW__) || defined(__WXPM__)
+#if defined(__WINDOWS__) || defined(__WXPM__)
 #   define NEWLINE "\r\n"
 #   define NEWLINELEN 2
 #elif defined(__WXMAC__) && !defined(__DARWIN__)