From d814f34e3a3e7c8665475381c829f38389050b95 Mon Sep 17 00:00:00 2001 From: Keenan Lang Date: Wed, 6 Nov 2024 14:01:14 -0600 Subject: [PATCH] use _mkdir for all windows compilers --- sscanApp/src/saveData_writeXDR.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sscanApp/src/saveData_writeXDR.c b/sscanApp/src/saveData_writeXDR.c index 90779eb..e04a2ed 100644 --- a/sscanApp/src/saveData_writeXDR.c +++ b/sscanApp/src/saveData_writeXDR.c @@ -167,10 +167,8 @@ #include #include 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