diff options
Diffstat (limited to 'src/s')
| -rw-r--r-- | src/s/cygwin.h | 3 | ||||
| -rw-r--r-- | src/s/hpux10-20.h | 8 | ||||
| -rw-r--r-- | src/s/ms-w32.h | 8 |
3 files changed, 6 insertions, 13 deletions
diff --git a/src/s/cygwin.h b/src/s/cygwin.h index af5308ff7bb..8f5a0ab1fc7 100644 --- a/src/s/cygwin.h +++ b/src/s/cygwin.h | |||
| @@ -91,9 +91,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 91 | why it needed to be changed. */ | 91 | why it needed to be changed. */ |
| 92 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS | 92 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS |
| 93 | 93 | ||
| 94 | /* Virtual addresses of pure and impure space can vary, as on Windows. */ | ||
| 95 | #define VIRT_ADDR_VARIES | ||
| 96 | |||
| 97 | /* Emacs supplies its own malloc, but glib (part of Gtk+) calls | 94 | /* Emacs supplies its own malloc, but glib (part of Gtk+) calls |
| 98 | memalign and on Cygwin, that becomes the Cygwin-supplied memalign. | 95 | memalign and on Cygwin, that becomes the Cygwin-supplied memalign. |
| 99 | As malloc is not the Cygwin malloc, the Cygwin memalign always | 96 | As malloc is not the Cygwin malloc, the Cygwin memalign always |
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h index 37199bcc29b..be457498add 100644 --- a/src/s/hpux10-20.h +++ b/src/s/hpux10-20.h | |||
| @@ -100,14 +100,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 100 | header sections which lose when `static' is defined away, as it is | 100 | header sections which lose when `static' is defined away, as it is |
| 101 | on HP-UX. (You get duplicate symbol errors on linking). */ | 101 | on HP-UX. (You get duplicate symbol errors on linking). */ |
| 102 | #undef _FILE_OFFSET_BITS | 102 | #undef _FILE_OFFSET_BITS |
| 103 | |||
| 104 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 105 | pure and impure space as loaded can vary, and even their | ||
| 106 | relative order cannot be relied on. | ||
| 107 | |||
| 108 | Otherwise Emacs assumes that text space precedes data space, | ||
| 109 | numerically. */ | ||
| 110 | #define VIRT_ADDR_VARIES | ||
| 111 | 103 | ||
| 112 | /* The data segment on this machine always starts at address 0x40000000. */ | 104 | /* The data segment on this machine always starts at address 0x40000000. */ |
| 113 | #define DATA_SEG_BITS 0x40000000 | 105 | #define DATA_SEG_BITS 0x40000000 |
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 |
| 269 | typedef int pid_t; | 269 | typedef 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 |