[cgma-dev] r3268 - cgm/trunk/itaps

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Tue Nov 3 10:03:06 CST 2009


Author: kraftche
Date: 2009-11-03 10:03:06 -0600 (Tue, 03 Nov 2009)
New Revision: 3268

Modified:
   cgm/trunk/itaps/partest.cpp
Log:
add missing #include

Modified: cgm/trunk/itaps/partest.cpp
===================================================================
--- cgm/trunk/itaps/partest.cpp	2009-11-03 15:02:44 UTC (rev 3267)
+++ cgm/trunk/itaps/partest.cpp	2009-11-03 16:03:06 UTC (rev 3268)
@@ -3,25 +3,9 @@
 #include <iostream>
 #include <stdio.h>
 #include <string.h>
+#include <stdlib.h>
 
-#  ifdef SEEK_SET
-#    define PTEST_SEEK_SET SEEK_SET
-#    define PTEST_SEEK_CUR SEEK_CUR
-#    define PTEST_SEEK_END SEEK_END
-#    undef SEEK_SET
-#    undef SEEK_CUR
-#    undef SEEK_END
-#  endif
-#include "mpi.h"
-#  ifdef PTEST_SEEK_SET
-#    define SEEK_SET PTEST_SEEK_SET
-#    define SEEK_CUR PTEST_SEEK_CUR
-#    define SEEK_END PTEST_SEEK_END
-#    undef PTEST_SEEK_SET
-#    undef PTEST_SEEK_CUR
-#    undef PTEST_SEEK_END
-#  endif
-
+#include "CGMmpi.h"
 #include "iGeom.h"
 
 #define IGEOM_ASSERT(ierr) if (ierr!=0) printf("igeom assert\n");



More information about the cgma-dev mailing list