]> git.pld-linux.org Git - packages/crossmingw32-pcre.git/commitdiff
- use dllexport not dllimport to define functions (detected by gcc 4.1.2 ICE)
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 1 May 2007 11:46:51 +0000 (11:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pcre-dll.patch -> 1.1

pcre-dll.patch [new file with mode: 0644]

diff --git a/pcre-dll.patch b/pcre-dll.patch
new file mode 100644 (file)
index 0000000..437f3fb
--- /dev/null
@@ -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
This page took 0.072822 seconds and 4 git commands to generate.