diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-07-30 17:03:57 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-07-30 17:03:57 (GMT) |
commit | 06791fbe958506f1c80888bb8f80c73e1528be44 (patch) | |
tree | 6adf4fd3caf546742653058e7c182339c357d3cf /src/H5FDstdio.h | |
parent | 273602af14c83cf86a33d12768fba7f3a87e277f (diff) | |
download | hdf5-06791fbe958506f1c80888bb8f80c73e1528be44.zip hdf5-06791fbe958506f1c80888bb8f80c73e1528be44.tar.gz hdf5-06791fbe958506f1c80888bb8f80c73e1528be44.tar.bz2 |
[svn-r4275]
Purpose:
Bug Fix
Description:
Forward port of the bug fix to the 1.4 branch reguarding the C++
compile error.
Solution:
Need to put
#ifdef __cplusplus
extern "C" {
#endif
/* ... */
#ifdef __cplusplus
}
#endif
around function declarations.
Diffstat (limited to 'src/H5FDstdio.h')
-rw-r--r-- | src/H5FDstdio.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/H5FDstdio.h b/src/H5FDstdio.h index 3d7281f..ffeef16 100644 --- a/src/H5FDstdio.h +++ b/src/H5FDstdio.h @@ -14,7 +14,15 @@ #define H5FD_STDIO (H5FD_stdio_init()) +#ifdef __cplusplus +extern "C" { +#endif + __DLL__ hid_t H5FD_stdio_init(void); __DLL__ herr_t H5Pset_fapl_stdio(hid_t fapl_id); +#ifdef __cplusplus +} +#endif + #endif |