[cig-commits] commit:

Mercurial hg at geodynamics.org
Mon Nov 24 11:58:35 PST 2008


changeset:   59:13109340d9cd
user:        LukeHodkinson
date:        Sun Mar 16 23:21:04 2008 +0000
files:       Swarm/src/FileParticleLayout.c
description:
Forgot to include a preprocessor conditional blocking
out HDF5 commands if HDF5 isn't present.


diff -r 4825c205bdb8 -r 13109340d9cd Swarm/src/FileParticleLayout.c
--- a/Swarm/src/FileParticleLayout.c	Sun Mar 16 07:22:21 2008 +0000
+++ b/Swarm/src/FileParticleLayout.c	Sun Mar 16 23:21:04 2008 +0000
@@ -217,8 +217,10 @@ void _FileParticleLayout_SetInitialCount
 	MPI_Offset                 bytesCount;
 	SizeT                      particleSize = swarm->particleExtensionMgr->finalSize;
 	div_t                      division;
+#ifdef HAVE_HDF5
 	hid_t file, fileData;
 	int size[2];
+#endif
 
 	Journal_DPrintf( self->debug, "In %s(): for ParticleLayout \"%s\", of type %s\n",
 		__func__, self->name, self->type );



More information about the CIG-COMMITS mailing list