summaryrefslogtreecommitdiffstats
path: root/pablo/HDFIOTrace.h
diff options
context:
space:
mode:
authorDan Wells <dwells@cs.uiuc.edu>2001-07-05 15:07:00 (GMT)
committerDan Wells <dwells@cs.uiuc.edu>2001-07-05 15:07:00 (GMT)
commit5fa81dec82fee408f233a4d9df4b3367c16745a0 (patch)
tree66da37d2f5d49846cbc30b980c09c1f4dcc4299f /pablo/HDFIOTrace.h
parentd9d71b06e46f5b52eec44d8a86b0394de49940cf (diff)
downloadhdf5-5fa81dec82fee408f233a4d9df4b3367c16745a0.zip
hdf5-5fa81dec82fee408f233a4d9df4b3367c16745a0.tar.gz
hdf5-5fa81dec82fee408f233a4d9df4b3367c16745a0.tar.bz2
[svn-r4110]
Purpose: feature Description: allows the option of building the library libhdf-inst.a so that it can link with either the Pablo Trace Libraries or with the Pablo Performance Capture Facility (PCF) Solution: Added code for conditional compilation using the PCF_BUILD flag. When the library is made, the user can specify PABLO_BUILD=PCF which will cause the -DPCF_BUILD to be passed to the compiler. Platforms tested: Solaris, IRIX64
Diffstat (limited to 'pablo/HDFIOTrace.h')
-rw-r--r--pablo/HDFIOTrace.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/pablo/HDFIOTrace.h b/pablo/HDFIOTrace.h
index 6e41612..4124dda 100644
--- a/pablo/HDFIOTrace.h
+++ b/pablo/HDFIOTrace.h
@@ -131,7 +131,7 @@ int HDFtraceFSETPOS( FILE *stream, const fpos_t *position ) ;
void HDFtraceREWIND( FILE *stream ) ;
ssize_t HDFtraceWRITE( int fd, const void *buf, size_t nbytes );
size_t HDFtraceFWRITE( const void *, size_t , size_t , FILE * );
-int HDFtracePUTS( char *s ) ;
+int HDFtracePUTS( const char *s ) ;
int HDFtraceFPUTC( int c, FILE *stream ) ;
int HDFtraceFPUTS( const char *s, FILE *stream ) ;
@@ -293,6 +293,7 @@ void HDFtraceIOEnd ( int, double, char * );
#include "HDFmpioProtos.h"
+/*
#ifdef MPI_File_open
#undef MPI_File_open
#endif
@@ -410,10 +411,13 @@ void HDFtraceIOEnd ( int, double, char * );
#define MPI_File_set_atomicity HDF_MPI_File_set_atomicity
#define MPI_File_get_atomicity HDF_MPI_File_get_atomicity
#define MPI_File_sync HDF_MPI_File_sync
-#endif /* HAVE_PARALLEL */
-#endif /* HAVE_PARALLEL */
+#endif
+*/
+#endif
+#endif
#ifdef __cplusplus
}
-#endif
+
+#endif /* HAVE_PARALLEL */
#endif /* HDFIOTRACE conditional */