[cig-commits] commit: Fix compile errors when not using hdf5
Mercurial
hg at geodynamics.org
Fri May 13 12:02:20 PDT 2011
changeset: 803:af2c9573fcd7
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Fri May 13 12:00:39 2011 -0700
files: Base/Context/src/AbstractContext.cxx Base/IO/src/IO.h
description:
Fix compile errors when not using hdf5
diff -r 8ba6201ce221 -r af2c9573fcd7 Base/Context/src/AbstractContext.cxx
--- a/Base/Context/src/AbstractContext.cxx Fri May 13 11:59:55 2011 -0700
+++ b/Base/Context/src/AbstractContext.cxx Fri May 13 12:00:39 2011 -0700
@@ -1052,7 +1052,7 @@ void _AbstractContext_SaveTimeInfo( void
timeInfoFile = fopen( timeInfoFileName, "w" );
- if ( False == timeInfoFile ) {
+ if ( NULL == timeInfoFile ) {
Journal_Printf( errorStr, "Error- in %s(), Couldn't create checkpoint time info file with "
"filename \"%s\" - aborting.\n", __func__, timeInfoFileName );
exit(EXIT_FAILURE);
diff -r 8ba6201ce221 -r af2c9573fcd7 Base/IO/src/IO.h
--- a/Base/IO/src/IO.h Fri May 13 11:59:55 2011 -0700
+++ b/Base/IO/src/IO.h Fri May 13 12:00:39 2011 -0700
@@ -57,6 +57,7 @@
#include "Stream.h"
#include "CStream.h"
#include "MPIStream.h"
+ #include "BinaryStream.h"
#include "StreamFormatter.h"
#include "LineFormatter.h"
#include "IndentFormatter.h"
More information about the CIG-COMMITS
mailing list