added support for Cygwin. Closes #8

This commit is contained in:
Gregory Pakosz
2017-02-06 21:53:22 +01:00
parent a19c7531b2
commit 523c28a215
2 changed files with 13 additions and 1 deletions

View File

@@ -158,7 +158,7 @@ int WAI_PREFIX(getModulePath)(char* out, int capacity, int* dirname_length)
return length;
}
#elif defined(__linux__)
#elif defined(__linux__) || defined(__CYGWIN__)
#include <stdio.h>
#include <stdlib.h>