consolidate
[m6w6/libmemcached] / src / p9y / realpath.hpp
index ed63cfacb1128d7cdc010806bc678ada682b4b32..04b6b308f2327f71ce37e2d63c58439d6e237a69 100644 (file)
@@ -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