]> Creatis software - gdcm.git/blob - src/gdcmjpegls/jpegls_config.h.in
use GDCM_NAME_SPACE:: instead of gdcm::, even in Examples ...
[gdcm.git] / src / gdcmjpegls / jpegls_config.h.in
1 /* Avoid problems due to multiple inclusion. */
2 #ifndef JPEGPLS_CONFIG_H
3 #define JPEGPLS_CONFIG_H
4
5 /* Define to 1 if you have the <unistd.h> header file. */
6 #cmakedefine HAVE_UNISTD_H
7
8 #cmakedefine JPEGLSSTATIC
9
10 #cmakedefine HAVE_C_INLINE
11
12 #ifndef HAVE_C_INLINE
13 #define inline
14 #endif
15
16 /* a function referenced thru EXTERNs: */
17 #if defined( _WIN32 ) && defined (JPEGLSDLL)
18 #define GLOBAL(type)            __declspec(dllexport) type
19 #else
20 #define GLOBAL(type)            type
21 #endif
22
23 /* a reference to a GLOBAL function: */
24 #if defined(_WIN32) && !defined(JPEGLSSTATIC)
25 #ifdef JPEGLSDLL
26 #define EXTERN(type)            __declspec(dllexport) type
27 #else
28 #define EXTERN(type)            __declspec(dllimport) type
29 #endif
30 #else
31 #define EXTERN(type)            extern type
32 #endif
33
34
35 #endif
36