changeset 111691:3aa829f74a48

Fix compilation on Windows following revno 102488. config.nt (EXTERNALLY_VISIBLE): Define.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 23 Nov 2010 22:21:16 +0200
parents 940fcbcdb8a0
children 565fc8de76e1
files nt/ChangeLog nt/config.nt
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nt/ChangeLog	Tue Nov 23 11:36:48 2010 -0800
+++ b/nt/ChangeLog	Tue Nov 23 22:21:16 2010 +0200
@@ -1,3 +1,7 @@
+2010-11-23  Eli Zaretskii  <eliz@gnu.org>
+
+	* config.nt (EXTERNALLY_VISIBLE): Define.
+
 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
 
 	* INSTALL: Refer to `dynamic-library-alist'.
--- a/nt/config.nt	Tue Nov 23 11:36:48 2010 -0800
+++ b/nt/config.nt	Tue Nov 23 22:21:16 2010 +0200
@@ -281,6 +281,12 @@
 #define INLINE
 #endif
 
+#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1))
+#define EXTERNALLY_VISIBLE __attribute__((externally_visible))
+#else
+#define EXTERNALLY_VISIBLE
+#endif
+
 #undef EMACS_CONFIGURATION
 
 #undef EMACS_CONFIG_OPTIONS