summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nt/ChangeLog4
-rw-r--r--nt/config.nt6
2 files changed, 10 insertions, 0 deletions
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 <eliz@gnu.org>
+
+ * config.nt (EXTERNALLY_VISIBLE): Define.
+
2010-10-13 Juanma Barranquero <lekktu@gmail.com>
* 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 <http://www.gnu.org/licenses/>. */
#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