# | Line 4 | Line 4 | |
---|---|---|
4 | */ | |
5 | #ifndef _RAD_PLATFORM_H_ | |
6 | #define _RAD_PLATFORM_H_ | |
7 | – | #ifdef __cplusplus |
8 | – | extern "C" { |
9 | – | #endif |
7 | ||
8 | #ifdef _WIN32 | |
9 | ||
# | Line 40 | Line 37 | extern "C" { | |
37 | #define NON_POSIX | |
38 | #else | |
39 | /* assumedly posix systems */ | |
40 | + | #include <unistd.h> |
41 | #define RHAS_GETPWNAM | |
42 | #define RHAS_STAT | |
43 | #define RHAS_FORK_EXEC | |
# | Line 54 | Line 52 | extern "C" { | |
52 | ||
53 | #endif /* _WIN32 */ | |
54 | ||
55 | + | #ifdef __cplusplus |
56 | + | extern "C" { |
57 | + | #endif |
58 | + | |
59 | + | /* nothing to protect yet */ |
60 | ||
61 | #ifdef __cplusplus | |
62 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |