diff options
Diffstat (limited to 'pango/querymodules.c')
-rw-r--r-- | pango/querymodules.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pango/querymodules.c b/pango/querymodules.c index 6d8b3210..7ce2feb5 100644 --- a/pango/querymodules.c +++ b/pango/querymodules.c @@ -38,6 +38,14 @@ #ifdef G_OS_WIN32 #define SOEXT ".dll" +#ifndef PATH_MAX +#include <stdlib.h> +#define PATH_MAX _MAX_PATH +#endif /* PATH_MAX */ +#ifdef _MSC_VER +#include <direct.h> +#define getcwd _getcwd +#endif #else #define SOEXT ".so" #endif |