projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge pull request #140 from hussainnaqvee/patch-1
[awesomized/libmemcached]
/
src
/
p9y
/
realpath.hpp
diff --git
a/src/p9y/realpath.hpp
b/src/p9y/realpath.hpp
index ed63cfacb1128d7cdc010806bc678ada682b4b32..04b6b308f2327f71ce37e2d63c58439d6e237a69 100644
(file)
--- a/
src/p9y/realpath.hpp
+++ b/
src/p9y/realpath.hpp
@@
-9,13
+9,12
@@
#endif
#if !defined HAVE_REALPATH
#endif
#if !defined HAVE_REALPATH
-#
if defined _WIN32
-#
if defined __cplusplus
+#
define P9Y_NEED_REALPATH
+# if defined __cplusplus
extern "C" {
extern "C" {
-#
endif
+# endif
char *realpath(const char *path, char real[_MAX_PATH]);
char *realpath(const char *path, char real[_MAX_PATH]);
-#
if defined __cplusplus
+# if defined __cplusplus
}
}
-# endif
-# endif // _WIN32
+# endif
#endif // HAVE_REALPATH
#endif // HAVE_REALPATH