summaryrefslogtreecommitdiffstats
path: root/src/H5api_adpt.h
blob: 603b9b5ba33519607269f062276302cca0569489 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
	H5api_adpt.h
	Used for the HDF5 dll project
	Created by Patrick Lu on 1/12/99
*/
#ifndef H5API_ADPT_H
#define H5API_ADPT_H

#if defined(WIN32)

#if defined(_HDF5DLL_)
#pragma warning(disable: 4273)	/* Disable the dll linkage warnings */
#define HDF5API __declspec(dllexport)
#define HDF5GLOBAL __declspec(dllexport)
#else
#define HDF5API
#define HDF5GLOBAL extern
#endif /* _HDF5DLL_ */

#else /*WIN32*/
#define HDF5API
#define HDF5GLOBAL extern
#endif

#endif /* H5API_ADPT_H */