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

Fix windows build error for missing path separator definitions.

* Use wxFileName::GetPathSeparator() instead of redefining them.
parent 223419a8
...@@ -45,7 +45,8 @@ void SystemDirsAppend( SEARCH_STACK* aSearchStack ) ...@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment