X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a5a83677555023d476401bab5809a1107222c74..ee7ee4698c8c845e134c23a5e8a4a63cdd3de797:/src/common/textfile.cpp diff --git a/src/common/textfile.cpp b/src/common/textfile.cpp index f52f9480a5..d67663557e 100644 --- a/src/common/textfile.cpp +++ b/src/common/textfile.cpp @@ -39,11 +39,11 @@ // default type is the native one const wxTextFile::Type wxTextFile::typeDefault = wxTextFile:: -#if defined(__WXMSW__) +#if defined(__WINDOWS__) Type_Dos; #elif defined(__UNIX__) Type_Unix; -#elif defined(__MAC__) +#elif defined(__WXMAC__) Type_Mac; // if you feel brave, remove the next line #error "wxTextFile: code for Mac files is untested."