mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Fix windows build error for missing path separator definitions.
* Use wxFileName::GetPathSeparator() instead of redefining them.
This commit is contained in:
parent
223419a8f6
commit
34dda6a1b0
@ -45,7 +45,8 @@ void SystemDirsAppend( SEARCH_STACK* aSearchStack )
|
||||
// bin_dir uses unix path separator. So to parse with wxFileName
|
||||
// use windows separator, especially important for server inclusion:
|
||||
// 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
|
||||
|
||||
wxFileName bin_fn( bin_dir, wxEmptyString );
|
||||
|
Loading…
x
Reference in New Issue
Block a user