Minor Windows adjustments

This commit is contained in:
Thomas Pöchtrager
2015-08-09 17:24:10 +02:00
parent 23e7bdebcf
commit 3604aecf8f
6 changed files with 19 additions and 11 deletions

View File

@ -30,7 +30,7 @@
#endif
// Play it nice with Windows users. Notepad in 2015 still doesn't display text data with Unix-style \n.
#ifdef _MSC_VER
#ifdef _WIN32
#define IM_NEWLINE "\r\n"
#else
#define IM_NEWLINE "\n"