pch.h can be used as pre-compiled header

svn path=/branches/xmlbuildsystem/; revision=12818
This commit is contained in:
Royce Mitchell III 2005-01-05 05:09:38 +00:00
parent 4ee64fd1b7
commit 039d7779de
12 changed files with 41 additions and 35 deletions

View file

@ -1,8 +1,6 @@
// XML.cpp
#ifdef _MSC_VER
#pragma warning ( disable : 4786 ) // identifier was truncated to '255' characters in the debug information
#endif//_MSC_VER
#include "pch.h"
#include <direct.h>
#include <io.h>
@ -51,6 +49,8 @@ filelen ( FILE* f )
Path::Path()
{
if ( !working_directory.size() )
InitWorkingDirectory();
string s ( working_directory );
const char* p = strtok ( &s[0], "/\\" );
while ( p )