Skip to content
Permalink
Browse files

Porting: Refactor initalizePaths()

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 386d69533095a6f36d5c3a98f2cd8de20a0132d4
Showing with 294 additions and 184 deletions.
  1. +2 −0 src/filesys.h
  2. +285 −181 src/porting.cpp
  3. +7 −3 src/porting.h
@@ -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

Oops, something went wrong.

0 comments on commit 386d695

Please sign in to comment.
You can’t perform that action at this time.