Skip to content

Commit

Permalink
Porting: Refactor initalizePaths()
Browse files Browse the repository at this point in the history
Add support for Solaris and HP-UX
Search additional potential procfs locations for current executable
  • Loading branch information
kwolekr committed Apr 19, 2015
1 parent f1a41e4 commit 386d695
Show file tree
Hide file tree
Showing 3 changed files with 294 additions and 184 deletions.
2 changes: 2 additions & 0 deletions src/filesys.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,

#ifdef _WIN32 // WINDOWS
#define DIR_DELIM "\\"
#define DIR_DELIM_CHAR '\\'
#define FILESYS_CASE_INSENSITIVE 1
#else // POSIX
#define DIR_DELIM "/"
#define DIR_DELIM_CHAR '/'
#define FILESYS_CASE_INSENSITIVE 0
#endif

Expand Down
Loading

0 comments on commit 386d695

Please sign in to comment.