aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Scholtes2011-11-05 08:59:51 -0600
committerChristoph Scholtes2011-11-05 08:59:51 -0600
commit600b1907da0d73b455ba0162d7f53a7e1acd6d05 (patch)
tree0f97265fdb5ce1278a2a569df4b931d70f2c25b0
parent955f3b13c68da47a1771fce0cc1e997e5837c8ba (diff)
downloademacs-600b1907da0d73b455ba0162d7f53a7e1acd6d05.tar.gz
emacs-600b1907da0d73b455ba0162d7f53a7e1acd6d05.zip
* nt/config.nt: (mode_t) [!__GNUC__]: Define mode_t for MSVC.
-rw-r--r--nt/ChangeLog4
-rw-r--r--nt/config.nt7
2 files changed, 11 insertions, 0 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index 30d7824c778..0d595657faf 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,7 @@
12011-11-05 Christoph Scholtes <cschol2112@googlemail.com>
2
3 * config.nt: (mode_t) [!__GNUC__]: Define mode_t for MSVC.
4
12011-11-05 Eli Zaretskii <eliz@gnu.org> 52011-11-05 Eli Zaretskii <eliz@gnu.org>
2 6
3 * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC. 7 * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
diff --git a/nt/config.nt b/nt/config.nt
index 53c7b50a32a..0d8a2b49a7d 100644
--- a/nt/config.nt
+++ b/nt/config.nt
@@ -345,6 +345,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
345# define restrict 345# define restrict
346#endif 346#endif
347 347
348/* Define to `int' if <sys/types.h> does not define. */
349#ifdef __GNUC__
350/* No action required for gcc */
351#else /* MSVC */
352#define mode_t int
353#endif
354
348/* A va_copy replacement for MSVC. */ 355/* A va_copy replacement for MSVC. */
349#ifdef _MSC_VER 356#ifdef _MSC_VER
350# ifdef _WIN64 357# ifdef _WIN64