mirror of https://github.com/AxioDL/tinyxml2.git
CreateDirectory replaced by cross-platform mkdir function
This commit is contained in:
parent
ff72d1fb82
commit
ef1c69cf15
|
@ -1,6 +1,7 @@
|
|||
# intermediate files
|
||||
Win32/
|
||||
x64/
|
||||
ipch/
|
||||
resources/out/
|
||||
*.sdf
|
||||
*.suo
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "tinyxml2.h"
|
||||
|
||||
#include <direct.h>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <ctime>
|
||||
|
@ -155,7 +156,7 @@ int main( int /*argc*/, const char ** /*argv*/ )
|
|||
#pragma warning ( disable : 4996 ) // Fail to see a compelling reason why this should be deprecated.
|
||||
#endif
|
||||
|
||||
CreateDirectory( L"resources/out/", NULL );
|
||||
mkdir( "resources/out/" );
|
||||
|
||||
FILE* fp = fopen( "resources/dream.xml", "r" );
|
||||
if ( !fp ) {
|
||||
|
|
Loading…
Reference in New Issue