Commit 698c348e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Don't build Win32 code on Linux !

parent 4e3e7fce
......@@ -76,6 +76,7 @@ static inline string sFromLocale( const string &rLocale )
return res;
}
#ifdef WIN32
/// Wrapper around FromWide, to avoid the need to call free()
static inline string sFromWide( const wstring &rWide )
{
......@@ -84,6 +85,7 @@ static inline string sFromWide( const wstring &rWide )
free( s );
return res;
}
#endif
/// Wrapper around ToLocale, to avoid the need to call LocaleFree()
static inline string sToLocale( const string &rUTF8 )
......
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