Commit 34dda6a1 authored by Wayne Stambaugh's avatar Wayne Stambaugh
Browse files

Fix windows build error for missing path separator definitions.

* Use wxFileName::GetPathSeparator() instead of redefining them.
parent 223419a8
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -45,7 +45,8 @@ void SystemDirsAppend( SEARCH_STACK* aSearchStack )
        // bin_dir uses unix path separator.  So to parse with wxFileName
        // bin_dir uses unix path separator.  So to parse with wxFileName
        // use windows separator, especially important for server inclusion:
        // use windows separator, especially important for server inclusion:
        // like: \\myserver\local_path .
        // like: \\myserver\local_path .
        bin_dir.Replace( UNIX_STRING_DIR_SEP, WIN_STRING_DIR_SEP );
        bin_dir.Replace( wxFileName::GetPathSeparator( wxPATH_UNIX ),
                         wxFileName::GetPathSeparator( wxPATH_WIN ) );
#endif
#endif


        wxFileName bin_fn( bin_dir, wxEmptyString );
        wxFileName bin_fn( bin_dir, wxEmptyString );