mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r26691] Move attribute define out of dynamic block.
Tested: windows
This commit is contained in:
parent
b31a086f3e
commit
7e183071a5
@ -21,9 +21,6 @@
|
||||
#ifndef H5API_ADPT_H
|
||||
#define H5API_ADPT_H
|
||||
|
||||
/* This will only be defined if HDF5 was built with CMake */
|
||||
#ifdef H5_BUILT_AS_DYNAMIC_LIB
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define __attribute__(X) /*void*/
|
||||
#endif /* __cplusplus */
|
||||
@ -31,6 +28,9 @@
|
||||
#define __attribute__(X) /*void*/
|
||||
#endif /* H5_HAVE_ATTRIBUTE */
|
||||
|
||||
/* This will only be defined if HDF5 was built with CMake */
|
||||
#ifdef H5_BUILT_AS_DYNAMIC_LIB
|
||||
|
||||
#if defined(hdf5_EXPORTS)
|
||||
#if defined (_MSC_VER) /* MSVC Compiler Case */
|
||||
#define H5_DLL __declspec(dllexport)
|
||||
|
Loading…
x
Reference in New Issue
Block a user