1 /* Avoid problems due to multiple inclusion. */
2 #ifndef JPEGPLS_CONFIG_H
3 #define JPEGPLS_CONFIG_H
5 /* Define to 1 if you have the <unistd.h> header file. */
6 #cmakedefine HAVE_UNISTD_H
8 #cmakedefine JPEGLSSTATIC
10 #cmakedefine HAVE_C_INLINE
16 /* a function referenced thru EXTERNs: */
17 #if defined( _WIN32 ) && defined (JPEGLSDLL)
18 #define GLOBAL(type) __declspec(dllexport) type
20 #define GLOBAL(type) type
23 /* a reference to a GLOBAL function: */
24 #if defined(_WIN32) && !defined(JPEGLSSTATIC)
26 #define EXTERN(type) __declspec(dllexport) type
28 #define EXTERN(type) __declspec(dllimport) type
31 #define EXTERN(type) extern type