[libxslt] Variables need 'extern' in static lib on Cygwin



commit dfa1bdceaef73a404d1c6efe58c3618493b36afb
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Sat Sep 22 15:47:10 2018 +0200

    Variables need 'extern' in static lib on Cygwin

 libexslt/exsltexports.h | 2 +-
 libxslt/xsltexports.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libexslt/exsltexports.h b/libexslt/exsltexports.h
index 21c49a4a..eee82220 100644
--- a/libexslt/exsltexports.h
+++ b/libexslt/exsltexports.h
@@ -124,7 +124,7 @@
     #if !defined(LIBEXSLT_STATIC)
       #define EXSLTPUBVAR __declspec(dllimport) extern
     #else
-      #define EXSLTPUBVAR
+      #define EXSLTPUBVAR extern
     #endif
   #endif
   #define EXSLTCALL __cdecl
diff --git a/libxslt/xsltexports.h b/libxslt/xsltexports.h
index 37b43bf2..99b6ac38 100644
--- a/libxslt/xsltexports.h
+++ b/libxslt/xsltexports.h
@@ -126,7 +126,7 @@
     #if !defined(LIBXSLT_STATIC)
       #define XSLTPUBVAR __declspec(dllimport) extern
     #else
-      #define XSLTPUBVAR
+      #define XSLTPUBVAR extern
     #endif
   #endif
   #define XSLTCALL __cdecl


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]