From: Eli Zaretskii Date: Tue, 23 Nov 2010 20:21:16 +0000 (+0200) Subject: Fix compilation on Windows following 2010-11-23T18:47:23Z!dann@ics.uci.edu. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~140 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=628e219faf38943e266eb0286ddda7e1390cb0bf;p=emacs.git Fix compilation on Windows following 2010-11-23T18:47:23Z!dann@ics.uci.edu. config.nt (EXTERNALLY_VISIBLE): Define. --- 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