]> Creatis software - gdcm.git/blob - src/gdcmjpegls/jpegls_config.h.in
ENH: Adding support for checking if inline keyword is supported by C compiler
[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 /* a function referenced thru EXTERNs: */
11 #if defined( _WIN32 ) && defined (JPEGLSDLL)
12 #define GLOBAL(type)            __declspec(dllexport) type
13 #else
14 #define GLOBAL(type)            type
15 #endif
16
17 /* a reference to a GLOBAL function: */
18 #if defined(_WIN32) && !defined(JPEGLSSTATIC)
19 #ifdef JPEGLSDLL
20 #define EXTERN(type)            __declspec(dllexport) type
21 #else
22 #define EXTERN(type)            __declspec(dllimport) type
23 #endif
24 #else
25 #define EXTERN(type)            extern type
26 #endif
27
28
29 #endif
30