]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix compilation on Windows following 2010-11-23T18:47:23Z!dann@ics.uci.edu.
authorEli Zaretskii <eliz@gnu.org>
Tue, 23 Nov 2010 20:21:16 +0000 (22:21 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 23 Nov 2010 20:21:16 +0000 (22:21 +0200)
 config.nt (EXTERNALLY_VISIBLE): Define.

nt/ChangeLog
nt/config.nt

index 44d937e4db9398b66f0dcf8c473e3e3f0ac6035c..eca36a06be0f2cece14c8fe0396ee9c31d44fda7 100644 (file)
@@ -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'.
index 49f823c9ba4f19e47d0307b0b2b809f43d0526f6..3df58a29ba3983161e859905f05062b78a115650 100644 (file)
@@ -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