osgEarth 2.1.1
|
Go to the source code of this file.
Functions | |
FILE * | TiXmlFOpen (const char *filename, const char *mode) |
FILE * TiXmlFOpen | ( | const char * | filename, |
const char * | mode | ||
) |
Definition at line 39 of file tinyxml.cpp.
{ #if defined(_MSC_VER) && (_MSC_VER >= 1400 ) FILE* fp = 0; errno_t err = fopen_s( &fp, filename, mode ); if ( !err && fp ) return fp; return 0; #else return fopen( filename, mode ); #endif }