Merge pull request #296 from tpoechtrager/master

Fixes for compiling Windows target with non-MSVC compiler.
This commit is contained in:
omar
2015-08-09 10:49:06 -06:00
6 changed files with 19 additions and 11 deletions

View File

@ -29,7 +29,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"