From 628e219faf38943e266eb0286ddda7e1390cb0bf Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 23 Nov 2010 22:21:16 +0200 Subject: [PATCH] Fix compilation on Windows following 2010-11-23T18:47:23Z!dann@ics.uci.edu. config.nt (EXTERNALLY_VISIBLE): Define. --- nt/ChangeLog | 4 ++++ nt/config.nt | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/nt/ChangeLog b/nt/ChangeLog index 44d937e4db9..eca36a06be0 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,7 @@ +2010-11-23 Eli Zaretskii + + * config.nt (EXTERNALLY_VISIBLE): Define. + 2010-10-13 Juanma Barranquero * INSTALL: Refer to `dynamic-library-alist'. diff --git a/nt/config.nt b/nt/config.nt index 49f823c9ba4..3df58a29ba3 100644 --- a/nt/config.nt +++ b/nt/config.nt @@ -281,6 +281,12 @@ along with GNU Emacs. If not, see . */ #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 -- 2.39.5