[common] gnuc on windows still uses / as the directory separator

This commit is contained in:
Geoffrey McRae 2019-02-28 19:21:00 +11:00
parent 6950379d94
commit 810fb73362

View File

@ -19,7 +19,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#include <stdio.h> #include <stdio.h>
#if _WIN32 #if defined(_WIN32) && !defined(__GNUC__)
#define DIRECTORY_SEPARATOR '\\' #define DIRECTORY_SEPARATOR '\\'
#else #else
#define DIRECTORY_SEPARATOR '/' #define DIRECTORY_SEPARATOR '/'