X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fjpeg%2Flibijg8%2Fjmorecfg.h;h=d10fb8f1d080c6b3414a0eaff1f942f28fe88301;hb=2d80f3c3dc0de0087e7a11ffec6be009e97405a5;hp=a590351dd44b2ed65f720352d5c950e5a8e02faf;hpb=5fbee0c35cc0f02ceea5d5a8be0c1900c63143bb;p=gdcm.git diff --git a/src/jpeg/libijg8/jmorecfg.h b/src/jpeg/libijg8/jmorecfg.h index a590351d..d10fb8f1 100644 --- a/src/jpeg/libijg8/jmorecfg.h +++ b/src/jpeg/libijg8/jmorecfg.h @@ -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.