/*
	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(_VISUALC_)
#if defined(_MT) && defined(_DLL) && !defined(_HDFDLL_) && !defined(_LIB)
#  define _HDF5DLL_
#endif
#if defined(_HDF5DLL_)
#  pragma warning( disable: 4273 ) /* Disable the stupid dll linkage warnings */
#  if !defined(_HDFLIB_)
#    define __DLL__ __declspec(dllimport)
#    define __DLLVAR__ __declspec(dllimport)
#  else
#    define __DLL__ __declspec(dllexport)
#    define __DLLVAR__ __declspec(dllexport)
#  endif
#else
#  define __DLL__ extern
#  define __DLLVAR__ extern
#endif

#pragma warning(disable : 4018)
#pragma warning(disable : 4244)
#pragma warning(disable : 4142)
#endif
#endif

#endif /* H5API_ADPT_H */
