oops, forgot export macro for path2str
This commit is contained in:
parent
3d90ffdf83
commit
ecde882d5a
1 changed files with 3 additions and 1 deletions
|
|
@ -1,13 +1,15 @@
|
|||
#ifndef PATH2STR_H
|
||||
#define PATH2STR_H
|
||||
|
||||
#include <sc_export.h>
|
||||
|
||||
/** windows only: rewrite backslashes in paths as forward slashes
|
||||
* call as path2str(__FILE__) to take advantage of macro
|
||||
*
|
||||
* silence "unknown escape sequence" warning when contents of __FILE__
|
||||
* are fprintf'd into string in generated code
|
||||
*/
|
||||
const char * path2str_fn( const char * fileMacro );
|
||||
SC_BASE_EXPORT const char * path2str_fn( const char * fileMacro );
|
||||
|
||||
#if defined( _WIN32 ) || defined ( __WIN32__ )
|
||||
# define path2str(path) path2str_fn(path)
|
||||
|
|
|
|||
Loading…
Reference in a new issue