Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed dirname from replace.h as a temporary measure - most platform…

…s have it, and its ambiguity was killing builds on common platforms
  • Loading branch information...
commit e22456a3deb40195d74ca9686d4548da56eef04e 1 parent a3b61d9
rtv authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 replace/replace.h
View
8 replace/replace.h
@@ -84,12 +84,20 @@ int poll (struct pollfd *fds, unsigned long int nfds, int timeout);
// int (*compar)(const struct dirent **, const struct dirent **));
//#endif //!HAVE_SCANDIR
+ /*
+
#if !HAVE_DIRNAME
char * dirname (char *path);
#else
#include <libgen.h> // for dirname(3)
#endif // !HAVE_DIRNAME
+#if !HAVE_BASENAME
+ const char * basename (const char* filename);
+#else
+ #include <libgen.h> // for basename(3)
+#endif // !HAVE_BASENAME
+ */
#ifdef __cplusplus
}
Please sign in to comment.
Something went wrong with that request. Please try again.