Skip to content

Commit

Permalink
removed dirname from replace.h as a temporary measure - most platform…
Browse files Browse the repository at this point in the history
…s have it, and its ambiguity was killing builds on common platforms
  • Loading branch information
rtv committed Oct 20, 2009
1 parent a3b61d9 commit e22456a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions replace/replace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit e22456a

Please sign in to comment.