 |
Hamlib
4.3
|
33 #if defined(_WIN32) && !defined(__CYGWIN__)
35 # undef HAMLIB_CPP_IMPEXP
38 # undef HAMLIB_EXPORT_VAR
39 # undef BACKEND_EXPORT
40 # undef BACKEND_EXPORT_VAR
41 # undef HAMLIB_DLL_IMPORT
42 # undef HAMLIB_DLL_EXPORT
44 # if defined (__BORLANDC__)
45 # define HAMLIB_DLL_IMPORT __import
46 # define HAMLIB_DLL_EXPORT __export
48 # define HAMLIB_DLL_IMPORT __declspec(dllimport)
49 # define HAMLIB_DLL_EXPORT __declspec(dllexport)
54 # define HAMLIB_API __cdecl
56 # define HAMLIB_CPP_IMPEXP HAMLIB_DLL_EXPORT
57 # define HAMLIB_IMPEXP HAMLIB_DLL_EXPORT
59 # define HAMLIB_CPP_IMPEXP HAMLIB_DLL_IMPORT
60 # define HAMLIB_IMPEXP HAMLIB_DLL_IMPORT
64 # define HAMLIB_CPP_IMPEXP HAMLIB_DLL_EXPORT
70 #if !defined(HAMLIB_IMPEXP)
71 # define HAMLIB_IMPEXP
73 #if !defined(HAMLIB_CPP_IMPEXP)
74 # define HAMLIB_CPP_IMPEXP
76 #if !defined(HAMLIB_API)
79 #if !defined(HAMLIB_EXPORT)
80 # define HAMLIB_EXPORT(type) HAMLIB_IMPEXP type HAMLIB_API
82 #if !defined(HAMLIB_EXPORT_VAR)
83 # define HAMLIB_EXPORT_VAR(type) HAMLIB_IMPEXP type
85 #if !defined(BACKEND_EXPORT)
86 # define BACKEND_EXPORT(type) HAMLIB_CPP_IMPEXP type HAMLIB_API
88 #if !defined(BACKEND_EXPORT_VAR)
89 # define BACKEND_EXPORT_VAR(type) HAMLIB_CPP_IMPEXP type