emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106296: * nt/config.nt: (mode_t) [!_


From: Christoph Scholtes
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106296: * nt/config.nt: (mode_t) [!__GNUC__]: Define mode_t for MSVC.
Date: Sat, 05 Nov 2011 08:59:51 -0600
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106296
committer: Christoph Scholtes <address@hidden>
branch nick: trunk
timestamp: Sat 2011-11-05 08:59:51 -0600
message:
  * nt/config.nt: (mode_t) [!__GNUC__]: Define mode_t for MSVC.
modified:
  nt/ChangeLog
  nt/config.nt
=== modified file 'nt/ChangeLog'
--- a/nt/ChangeLog      2011-11-05 14:10:27 +0000
+++ b/nt/ChangeLog      2011-11-05 14:59:51 +0000
@@ -1,3 +1,7 @@
+2011-11-05  Christoph Scholtes  <address@hidden>
+
+       * config.nt: (mode_t) [!__GNUC__]: Define mode_t for MSVC.
+
 2011-11-05  Eli Zaretskii  <address@hidden>
 
        * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.

=== modified file 'nt/config.nt'
--- a/nt/config.nt      2011-11-05 14:10:27 +0000
+++ b/nt/config.nt      2011-11-05 14:59:51 +0000
@@ -345,6 +345,13 @@
 # define restrict
 #endif
 
+/* Define to `int' if <sys/types.h> does not define. */
+#ifdef __GNUC__
+/* No action required for gcc */
+#else /* MSVC */
+#define mode_t int
+#endif
+
 /* A va_copy replacement for MSVC.  */
 #ifdef _MSC_VER
 # ifdef _WIN64


reply via email to

[Prev in Thread] Current Thread [Next in Thread]