Fix for windows. Files were not being generated into the correct directories if the Windows path separator was used. The Unix separator '/' had to be used.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
06ed231b7d
commit
80a57f70f7
1 changed files with 3 additions and 1 deletions
|
|
@ -101,8 +101,10 @@ extern char *Swig_file_basename(const String_or_char *filename);
|
|||
extern char *Swig_file_filename(const String_or_char *filename);
|
||||
extern char *Swig_file_dirname(const String_or_char *filename);
|
||||
|
||||
#ifdef MACSWIG
|
||||
#if defined(MACSWIG)
|
||||
# define SWIG_FILE_DELIMETER ":"
|
||||
#elif defined(_WIN32)
|
||||
# define SWIG_FILE_DELIMETER "\\"
|
||||
#else
|
||||
# define SWIG_FILE_DELIMETER "/"
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue