X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fp9y%2Frealpath.hpp;h=04b6b308f2327f71ce37e2d63c58439d6e237a69;hb=7781e7d0bf9fc0d986308838a3e1e47d0df3c019;hp=ed63cfacb1128d7cdc010806bc678ada682b4b32;hpb=118abd2f53e24a4f312ad0fcd484f6f8dbe5094c;p=awesomized%2Flibmemcached diff --git a/src/p9y/realpath.hpp b/src/p9y/realpath.hpp index ed63cfac..04b6b308 100644 --- a/src/p9y/realpath.hpp +++ b/src/p9y/realpath.hpp @@ -9,13 +9,12 @@ #endif #if !defined HAVE_REALPATH -# if defined _WIN32 -# if defined __cplusplus +# define P9Y_NEED_REALPATH +# if defined __cplusplus extern "C" { -# endif +# endif char *realpath(const char *path, char real[_MAX_PATH]); -# if defined __cplusplus +# if defined __cplusplus } -# endif -# endif // _WIN32 +# endif #endif // HAVE_REALPATH