]> Creatis software - gdcm.git/blobdiff - src/jpeg/libijg8/jmorecfg.h
* vtk/testvtkGdcmReader.cxx : remove a symbol that is unused
[gdcm.git] / src / jpeg / libijg8 / jmorecfg.h
index a590351dd44b2ed65f720352d5c950e5a8e02faf..d10fb8f1d080c6b3414a0eaff1f942f28fe88301 100644 (file)
@@ -185,9 +185,17 @@ typedef unsigned int JDIMENSION;
 /* a function used only in its module: */
 #define LOCAL(type)            static type
 /* a function referenced thru EXTERNs: */
-#define GLOBAL(type)           type
+#ifdef WIN32
+  #define GLOBAL(type)         __declspec( dllexport ) type
+#else
+  #define GLOBAL(type)         type
+#endif
 /* a reference to a GLOBAL function: */
-#define EXTERN(type)           extern type
+#ifdef WIN32
+  #define EXTERN(type)         extern __declspec( dllexport ) type
+#else
+  #define EXTERN(type)         extern type
+#endif
 
 
 /* This macro is used to declare a "method", that is, a function pointer.