Fixes for IA-64 with Intel compiler.

This commit is contained in:
curt
2002-07-02 18:44:20 +00:00
parent 3ff1789963
commit 033c66363d
2 changed files with 5 additions and 4 deletions

View File

@@ -346,7 +346,7 @@
//
// Intel C++ Compiler
//
#if defined(__ICC)
#if defined(__ICC) || defined (__ECC)
# define SG_NAMESPACES
# define SG_HAVE_STD
# define SG_HAVE_STREAMBUF

View File

@@ -346,11 +346,12 @@ bool SGBinObject::read_bin( const string& file ) {
return false;
}
// read creation time
time_t calendar_time;
sgReadLong( fp, &calendar_time );
// read calender time
unsigned int foo_calendar_time;
sgReadUInt( fp, &foo_calendar_time );
#if 0
time_t calendar_time = foo_calendar_time;
// The following code has a global effect on the host application
// and can screws up the time elsewhere. It should be avoided
// unless you need this for debugging in which case you should