diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2002-09-20 20:36:09 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2002-09-20 20:36:09 (GMT) |
commit | e5b28ef37b6cb97211e37f0900a97b14c97daf57 (patch) | |
tree | 123dce5773a6041fd75d9572a553a044219b01a3 /src/H5Rpublic.h | |
parent | 2aca3b77d63aa78d16262e23d929f2c13570a2d5 (diff) | |
download | hdf5-e5b28ef37b6cb97211e37f0900a97b14c97daf57.zip hdf5-e5b28ef37b6cb97211e37f0900a97b14c97daf57.tar.gz hdf5-e5b28ef37b6cb97211e37f0900a97b14c97daf57.tar.bz2 |
[svn-r5931]
Purpose:
__DLL__ is a keyword in some platforms and __DLL__ is also defined as a macro for windows DLL applications.
That causes problems.
Description:
Solution:
Use H5_DLL*** to replace __DLL***__ at all header files.
Change the macro defination at H5api_adpt.h.
Platforms tested:
linux2.2.18smp, irix64, solaris 2.7 and windows 2000
Diffstat (limited to 'src/H5Rpublic.h')
-rw-r--r-- | src/H5Rpublic.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Rpublic.h b/src/H5Rpublic.h index a33378d..0f6f920 100644 --- a/src/H5Rpublic.h +++ b/src/H5Rpublic.h @@ -66,14 +66,14 @@ extern "C" { #endif /* Functions in H5R.c */ -__DLL__ herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, +H5_DLL herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id); -__DLL__ hid_t H5Rdereference(hid_t dataset, H5R_type_t ref_type, void *ref); -__DLL__ hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, void *ref); +H5_DLL hid_t H5Rdereference(hid_t dataset, H5R_type_t ref_type, void *ref); +H5_DLL hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, void *ref); #ifdef H5_WANT_H5_V1_4_COMPAT -__DLL__ int H5Rget_object_type(hid_t dataset, void *_ref); +H5_DLL int H5Rget_object_type(hid_t dataset, void *_ref); #endif /* H5_WANT_H5_V1_4_COMPAT */ -__DLL__ int H5Rget_obj_type(hid_t dataset, H5R_type_t ref_type, void *_ref); +H5_DLL int H5Rget_obj_type(hid_t dataset, H5R_type_t ref_type, void *_ref); #ifdef __cplusplus } |