SOURCES: pcre-dll.patch (NEW) - use dllexport not dllimport to def...

qboosh qboosh at pld-linux.org
Tue May 1 13:46:56 CEST 2007


Author: qboosh                       Date: Tue May  1 11:46:56 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use dllexport not dllimport to define functions (detected by gcc 4.1.2 ICE)

---- Files affected:
SOURCES:
   pcre-dll.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/pcre-dll.patch
diff -u /dev/null SOURCES/pcre-dll.patch:1.1
--- /dev/null	Tue May  1 13:46:56 2007
+++ SOURCES/pcre-dll.patch	Tue May  1 13:46:51 2007
@@ -0,0 +1,16 @@
+--- pcre-7.1/pcreposix.h.orig	2007-04-04 16:04:40.000000000 +0200
++++ pcre-7.1/pcreposix.h	2007-05-01 12:56:05.456674588 +0200
+@@ -111,8 +111,13 @@
+ 
+ #ifdef _WIN32
+ #  ifndef PCREPOSIX_STATIC
++#   ifdef PCRE_EXP_DECL
++#    define PCREPOSIX_EXP_DECL PCRE_EXP_DECL
++#    define PCREPOSIX_EXP_DEFN PCRE_EXP_DEFN
++#   else
+ #    define PCREPOSIX_EXP_DECL extern __declspec(dllimport)
+ #    define PCREPOSIX_EXP_DEFN  __declspec(dllimport)
++#   endif
+ #  endif
+ #endif
+ 
================================================================


More information about the pld-cvs-commit mailing list