Skip to content

Commit

Permalink
use _mkdir for all windows compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
keenanlang authored Nov 6, 2024
1 parent 8c94c41 commit d814f34
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sscanApp/src/saveData_writeXDR.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,8 @@
#include <direct.h>
#include <io.h>
typedef unsigned int u_int;
#endif

#if defined(__MINGW32__) || defined(__MINGW64__)
#define mkdir(PATH, PERMIS) (mkdir(PATH))
#define mkdir(PATH, PERMIS) (_mkdir(PATH))
#endif

#ifdef vxWorks
Expand Down

0 comments on commit d814f34

Please sign in to comment.