mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-06-06 22:53:34 +00:00
fix build issue
This commit is contained in:
parent
e4dc7218a5
commit
3a6e51a12f
@ -338,6 +338,7 @@ int main( int argc, const char ** argv )
|
|||||||
}
|
}
|
||||||
fclose( fp );
|
fclose( fp );
|
||||||
|
|
||||||
|
#if 0
|
||||||
#if defined WIN32
|
#if defined WIN32
|
||||||
if ( !CreateDirectory( L"resources\\out", NULL ) && GetLastError() != ERROR_ALREADY_EXISTS ) {
|
if ( !CreateDirectory( L"resources\\out", NULL ) && GetLastError() != ERROR_ALREADY_EXISTS ) {
|
||||||
#else
|
#else
|
||||||
@ -346,7 +347,7 @@ int main( int argc, const char ** argv )
|
|||||||
printf( "Unable to create directory 'resources/out': %s\n", strerror( errno ) );
|
printf( "Unable to create directory 'resources/out': %s\n", strerror( errno ) );
|
||||||
exit( 1 );
|
exit( 1 );
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
XMLTest( "Example-1", 0, example_1() );
|
XMLTest( "Example-1", 0, example_1() );
|
||||||
XMLTest( "Example-2", 0, example_2() );
|
XMLTest( "Example-2", 0, example_2() );
|
||||||
XMLTest( "Example-3", 0, example_3() );
|
XMLTest( "Example-3", 0, example_3() );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user