1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-26 10:49:33 +00:00

(HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.

(strings.h, stdlib.h): Conditionally include.
(w32_abort): Declare here.
(abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
This commit is contained in:
Jason Rumney 2007-10-22 22:39:06 +00:00
parent 8b296cdd66
commit 5eaf5ed9f5
2 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2007-10-22 Jason Rumney <jasonr@gnu.org>
* config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
(strings.h, stdlib.h): Conditionally include.
(w32_abort): Declare here.
(abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
2007-10-20 Jason Rumney <jasonr@gnu.org>
* makefile.w32-in (info-nmake): Change into correct directories.

View File

@ -140,6 +140,8 @@ Boston, MA 02110-1301, USA. */
#undef HAVE_TERMIOS_H
#undef HAVE_LIMITS_H
#undef HAVE_STRING_H
#undef HAVE_STRINGS_H
#undef HAVE_STDLIB_H
#undef HAVE_PWD_H
#undef STDC_HEADERS
#undef TIME_WITH_SYS_TIME
@ -469,6 +471,12 @@ extern char *getenv ();
#ifdef HAVE_STRING_H
#include "string.h"
#endif
#ifdef HAVE_STRINGS_H
#include "strings.h"
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#endif
#ifndef NO_RETURN
@ -479,5 +487,13 @@ extern char *getenv ();
#endif
#endif
/* Redefine abort. */
#ifndef NOT_C_CODE
#ifdef HAVE_NTGUI
#define abort w32_abort
void w32_abort (void) NO_RETURN;
#endif
#endif
/* arch-tag: df720992-aa5a-499a-882d-958dc5eeb5e9
(do not change this comment) */