summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2007-06-14 14:18:46 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2007-06-14 14:18:46 (GMT)
commit9238d327a330f7e25404f580780b752f11bb0de8 (patch)
treec443f6105cc8133f83160c0f3c83f957fd3c558b /src
parentd05df8434b2eb7f1282615f701dbf7cbf9f1ac6e (diff)
downloadhdf5-9238d327a330f7e25404f580780b752f11bb0de8.zip
hdf5-9238d327a330f7e25404f580780b752f11bb0de8.tar.gz
hdf5-9238d327a330f7e25404f580780b752f11bb0de8.tar.bz2
[svn-r13865] Purpose: Adding a new macro, H5_HAVE_OFFSETOF.
Description: When the compiler has the __offsetof__ extension, the H5_HAVE_OFFSETOF macro will be defined. When the compiler does not have the extension, the macro will remain undefined. Tested: kagiso
Diffstat (limited to 'src')
-rw-r--r--src/H5FDwindows.c4
-rw-r--r--src/H5config.h.in3
2 files changed, 5 insertions, 2 deletions
diff --git a/src/H5FDwindows.c b/src/H5FDwindows.c
index 43afcef..1ea9aad 100644
--- a/src/H5FDwindows.c
+++ b/src/H5FDwindows.c
@@ -276,8 +276,8 @@ H5FD_windows_term(void)
*
*-------------------------------------------------------------------------
*/
-herr_t
-H5Pset_fapl_windows(hid_t fapl_id)
+herr_t
+H5Pset_fapl_windows(hid_t fapl_id)
{
H5P_genplist_t *plist; /* Property list pointer */
herr_t ret_value;
diff --git a/src/H5config.h.in b/src/H5config.h.in
index a3a8c30..3eea9ff 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -228,6 +228,9 @@
/* Define to 1 if you have the <netinet/tcp.h> header file. */
#undef HAVE_NETINET_TCP_H
+/* Define if the __offsetof__ extension is present */
+#undef HAVE_OFFSETOF
+
/* Define if we have parallel support */
#undef HAVE_PARALLEL