mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-01 13:42:10 +01:00
2007-03-15 Tor Lillqvist <tml@novell.com> * glib/gnulib/Makefile.am (INCLUDES): Add -I$(top_srcdir)/glib so that gregex.h finds <glib.h>. * glib/update-pcre/Makefille.am-1: Add -DGLIB_COMPILATION so that we don't think g_ascii_table is dllimport. * glib/pcre/Makefile.am: Corresponding change. * glib/update-pcre/notdll.patch: New file. Drop dllimport/dllexport magic for the pcre symbols. * glib/update-pcre/Makefile.am: Dist it. * glib/update-pcre/update.sh: Apply notdll.patch. * glib/pcre/pcre.h: Corresponding change. 2007-03-15 Tor Lillqvist <tml@novell.com> * glib/gtypes.h: Add comment to avoid misleading people with the large number of digits in G_PI etc. (#404338) svn path=/trunk/; revision=5410
20 lines
459 B
Diff
20 lines
459 B
Diff
--- pcre/pcre.h 2006-07-05 13:28:01.000000000 +0200
|
|
+++ pcre/pcre.h 2006-07-05 13:28:01.000000000 +0200
|
|
@@ -60,6 +60,8 @@
|
|
/* Win32 uses DLL by default; it needs special stuff for exported functions
|
|
when building PCRE. */
|
|
|
|
+/* But don't do that when building as part of GLib */
|
|
+#if 0
|
|
#ifdef _WIN32
|
|
# ifdef PCRE_DEFINITION
|
|
# ifdef DLL_EXPORT
|
|
@@ -71,6 +71,7 @@
|
|
# endif
|
|
# endif
|
|
#endif
|
|
+#endif
|
|
|
|
/* Otherwise, we use the standard "extern". */
|
|
|