summaryrefslogtreecommitdiffstats
path: root/vms
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2009-01-30 14:55:15 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2009-01-30 14:55:15 (GMT)
commit69d06e6ed44ead9c2cd65d63b372ed1ea36f8be6 (patch)
treeb49e556365fd78e1e3ec431d90031e63726207b2 /vms
parent089dfcff023abd61911ebaad433ed3a23eb099e4 (diff)
downloadhdf5-69d06e6ed44ead9c2cd65d63b372ed1ea36f8be6.zip
hdf5-69d06e6ed44ead9c2cd65d63b372ed1ea36f8be6.tar.gz
hdf5-69d06e6ed44ead9c2cd65d63b372ed1ea36f8be6.tar.bz2
[svn-r16385] Added support for large files - added cc/define=_LARGEFILE in make.com and changed
H5_SIZEOF_OFF_T to be 8 in h5pubconf.h. Tested on OpenVMS.
Diffstat (limited to 'vms')
-rw-r--r--vms/make.com6
-rw-r--r--vms/src/h5pubconf.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/vms/make.com b/vms/make.com
index f51e6ab..5af9469 100644
--- a/vms/make.com
+++ b/vms/make.com
@@ -44,9 +44,9 @@ $!
$! Set up compilation flags here
$! Do not remove define=H5_VMS and standard=strict_ansi qualifiers.
$!
-$ ccopt == "/float=ieee_float/define=H5_VMS/debug/nooptimize/include=zlib_dir"
-$ fcopt == "/float=ieee_float/define=H5_VMS/debug/nooptimize/include=zlib_dir"
-$ cxxopt == "/float=ieee_float/define=H5_VMS/debug/nooptimize/"+-
+$ ccopt == "/float=ieee_float/define=(_LARGEFILE,H5_VMS)/debug/nooptimize/include=zlib_dir"
+$ fcopt == "/float=ieee_float/define=(_LARGEFILE,H5_VMS)/debug/nooptimize/include=zlib_dir"
+$ cxxopt == "/float=ieee_float/define=(_LARGEFILE,H5_VMS)/debug/nooptimize/"+-
"standard=strict_ansi/include=zlib_dir"
$!
$!
diff --git a/vms/src/h5pubconf.h b/vms/src/h5pubconf.h
index 91830f2..d0ce01f 100644
--- a/vms/src/h5pubconf.h
+++ b/vms/src/h5pubconf.h
@@ -538,7 +538,7 @@
/* #define H5_SIZEOF_OFF64_T 8 */
/* The size of `off_t', as computed by sizeof. */
-#define H5_SIZEOF_OFF_T 4
+#define H5_SIZEOF_OFF_T 8
/* The size of `short', as computed by sizeof. */
#define H5_SIZEOF_SHORT 2