only mingw has this problem..

This commit is contained in:
iceman1001 2017-07-27 22:10:12 +02:00
commit 16b494fa71
2 changed files with 6 additions and 3 deletions

View file

@ -12,6 +12,8 @@
#include "scandir.h"
#ifdef _WIN32
#ifdef __cplusplus
extern "C" {
@ -89,3 +91,5 @@ int alphasort (const struct dirent **a, const struct dirent **b)
#ifdef __cplusplus
}
#endif
#endif // win32