788:9b9420041d8e | 789:378b5ab86f77 |
---|---|
42 #include <inttypes.h> | 42 #include <inttypes.h> |
43 | 43 |
44 #include <curl/curl.h> | 44 #include <curl/curl.h> |
45 #include "webdav.h" | 45 #include "webdav.h" |
46 | 46 |
47 #ifdef _WIN32 | |
48 #ifndef mode_t | |
49 #define mode_t int | |
50 #endif | |
51 #endif | |
52 | |
47 #ifndef S_IRWXG | 53 #ifndef S_IRWXG |
48 /* if one is not defined, the others are probably also not defined */ | 54 /* if one is not defined, the others are probably also not defined */ |
49 #define S_IRWXG 070 | 55 #define S_IRWXU 0700 |
50 #define S_IRGRP 040 | 56 #define S_IRWXG 070 |
51 #define S_IWGRP 020 | 57 #define S_IRGRP 040 |
52 #define S_IXGRP 010 | 58 #define S_IWGRP 020 |
53 #define S_IRWXO 07 | 59 #define S_IXGRP 010 |
54 #define S_IROTH 04 | 60 #define S_IRWXO 07 |
55 #define S_IWOTH 02 | 61 #define S_IROTH 04 |
56 #define S_IXOTH 01 | 62 #define S_IWOTH 02 |
63 #define S_IXOTH 01 | |
57 #endif /* S_IRWXG */ | 64 #endif /* S_IRWXG */ |
58 | 65 |
59 #ifdef __cplusplus | 66 #ifdef __cplusplus |
60 extern "C" { | 67 extern "C" { |
61 #endif | 68 #endif |