]> Creatis software - gdcm.git/blobdiff - src/gdcmjasper/src/libjasper/include/jasper/jas_config.h.in
COMP: Getting rid of the unsigned thing warning
[gdcm.git] / src / gdcmjasper / src / libjasper / include / jasper / jas_config.h.in
index 3063cf6d4e79e7b27bc4521853f7d4c05146a8b9..687e9ecc1cbdda83c92c8ea4454cf64771fcafdf 100644 (file)
@@ -217,6 +217,17 @@ typedef __int64            longlong;
 /* #define  ssize_t    int */
 #endif // HAVE_SYS_TYPES_H
 
+
+#cmakedefine JASPERSTATIC
+
+/* a function referenced thru EXTERNs: */
+#if defined( _WIN32 ) && defined (JPEGDLL)
+#define GLOBAL(type)            __declspec(dllexport) type
+#else
+#define GLOBAL(type)            type
+#endif
+
+/* a reference to a GLOBAL function: */
 #if defined(_WIN32) && !defined(JASPERSTATIC)
 #ifdef JASPERDLL
 #define EXTERN(type)            __declspec(dllexport) type