enum
{
-#ifdef WIN32
+#ifdef _WIN32
ITEMSEP = ';'
#else
ITEMSEP = ':'
for(Path::Iterator i=path.begin(); i!=path.end(); ++i)
{
p /= *i;
-#ifdef WIN32
+#ifdef _WIN32
if(p.size()==1 && p.is_absolute())
continue;
#endif
Path get_sys_lib_dir(const string &argv0, const string &appname)
{
if(argv0.empty() || appname.empty())
- throw invalid_argument("get_sys_data_dir");
+ throw invalid_argument("get_sys_lib_dir");
Path dir = get_bin_dir(argv0);