mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-28 02:50:21 +08:00
only mingw has this problem..
This commit is contained in:
parent
a797314dab
commit
16b494fa71
2 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -15,9 +15,8 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#else
|
||||
#endif // _WIN32
|
||||
|
||||
extern int scandir (const char *dir, struct dirent ***namelist, int (*select) (const struct dirent *), int (*compar) (const struct dirent **, const struct dirent **));
|
||||
extern int alphasort (const struct dirent **a, const struct dirent **b);
|
||||
#endif // _WIN32
|
||||
|
||||
#endif // SCANDIR_H__
|
Loading…
Reference in a new issue