Changeset 215 for cpp


Ignore:
Timestamp:
04/06/14 13:41:15 (10 years ago)
Author:
Maciej Komosinski
Message:

Support for Borland compiler and non-wide char API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/nonstd_stdio.cpp

    r202 r215  
    3232        if (fname == NULL) return false; //SplitFileSystem never passes NULL but this function is public so we never know
    3333#if defined _WIN32 && !defined SHP
     34 #ifdef __BORLANDC__
     35        return PathIsRelative(fname) == FALSE; //no wide char for old borland compiler
     36 #else
    3437        return PathIsRelative(Util::strTOwstr(fname).c_str()) == FALSE; //http://msdn.microsoft.com/en-us/library/bb773660%28v=vs.85%29.aspx
     38 #endif
    3539#else
    3640        return fname[0] == PATH_SEPARATOR_CHAR;
Note: See TracChangeset for help on using the changeset viewer.