Mercurial > dwindows
comparison dwcompat.c @ 2164:05dd5189099f
Win: Fix some warnings reported with -W3 in Visual C.
Can compile with -W3 by issuing: "set DEBUG=Y" before building.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 30 Sep 2020 22:56:59 +0000 |
parents | d83a86f5fe7f |
children | a126b04b9996 |
comparison
equal
deleted
inserted
replaced
2163:98db0e81a514 | 2164:05dd5189099f |
---|---|
52 } | 52 } |
53 #endif | 53 #endif |
54 | 54 |
55 int API makedir(char *path) | 55 int API makedir(char *path) |
56 { | 56 { |
57 #if defined(__IBMC__) || defined(__WATCOMC__) || defined(_MSC_VER) || defined(__MINGW32__) || defined(__MINGW64__) | 57 #if defined(__IBMC__) || defined(__WATCOMC__) || defined(__MINGW32__) || defined(__MINGW64__) |
58 return mkdir(path); | 58 return mkdir(path); |
59 #elif defined(_MSC_VER) | |
60 return _mkdir(path); | |
59 #else | 61 #else |
60 return mkdir(path,S_IRWXU); | 62 return mkdir(path,S_IRWXU); |
61 #endif | 63 #endif |
62 } | 64 } |
63 | 65 |