aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
Diffstat (limited to 'src/s')
-rw-r--r--src/s/ms-w32.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h
index fb0882860d1..cc19765aba6 100644
--- a/src/s/ms-w32.h
+++ b/src/s/ms-w32.h
@@ -267,6 +267,8 @@ struct sigaction {
267#define getpid _getpid 267#define getpid _getpid
268#ifdef _MSC_VER 268#ifdef _MSC_VER
269typedef int pid_t; 269typedef int pid_t;
270#define snprintf _snprintf
271#define strtoll _strtoi64
270#endif 272#endif
271#define isatty _isatty 273#define isatty _isatty
272#define logb _logb 274#define logb _logb
@@ -275,15 +277,17 @@ typedef int pid_t;
275#define popen _popen 277#define popen _popen
276#define pclose _pclose 278#define pclose _pclose
277#define umask _umask 279#define umask _umask
280#ifndef _MSC_VER
278#define utimbuf _utimbuf 281#define utimbuf _utimbuf
282#endif
279#define strdup _strdup 283#define strdup _strdup
280#define strupr _strupr 284#define strupr _strupr
281#define strnicmp _strnicmp 285#define strnicmp _strnicmp
282#define stricmp _stricmp 286#define stricmp _stricmp
283#define tzset _tzset 287#define tzset _tzset
284 288
285#if !defined (_MSC_VER) || (_MSC_VER < 1400)
286#define tzname _tzname 289#define tzname _tzname
290#if !defined (_MSC_VER) || (_MSC_VER < 1400)
287#undef utime 291#undef utime
288#define utime _utime 292#define utime _utime
289#endif 293#endif
@@ -335,7 +339,7 @@ extern char *get_emacs_configuration_options (void);
335#define _WINSOCK_H 339#define _WINSOCK_H
336 340
337/* Defines size_t and alloca (). */ 341/* Defines size_t and alloca (). */
338#if (defined(_MSC_VER) && defined(emacs)) || defined(USE_CRT_DLL) 342#ifdef emacs
339#define malloc e_malloc 343#define malloc e_malloc
340#define free e_free 344#define free e_free
341#define realloc e_realloc 345#define realloc e_realloc