diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-07-06 18:32:56 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-07-06 18:32:56 -0700 |
commit | d9d9d3ff24df164520370199f40f3096ae6c35d1 (patch) | |
tree | 8279910f2532f7b50930c5181905f451818e433a /nt | |
parent | f02d455840cd1ef2d9f7be8fefafa130e586d6ee (diff) | |
download | emacs-d9d9d3ff24df164520370199f40f3096ae6c35d1.tar.gz |
Assume freestanding C89 headers, string.h, stdlib.h.
Diffstat (limited to 'nt')
-rw-r--r-- | nt/ChangeLog | 7 | ||||
-rw-r--r-- | nt/config.nt | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index b335542ba9c..29e6a4b110d 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,10 @@ +2011-07-07 Paul Eggert <eggert@cs.ucla.edu> + + Assume freestanding C89 headers, string.h, stdlib.h. + * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H) + (STDC_HEADERS): Remove. + Iinclude string.h, stdlib.h unconditionally. + 2011-06-07 Eli Zaretskii <eliz@gnu.org> * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX) diff --git a/nt/config.nt b/nt/config.nt index 2ba76df4446..3436bc989e0 100644 --- a/nt/config.nt +++ b/nt/config.nt @@ -131,12 +131,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #undef HAVE_LINUX_VERSION_H #undef HAVE_SYS_SYSTEMINFO_H #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 HAVE_LIBDNET #undef HAVE_LIBPTHREADS @@ -506,15 +502,11 @@ extern char *getenv (); #define PROTOTYPES 1 #endif -#ifdef HAVE_STRING_H #include "string.h" -#endif #ifdef HAVE_STRINGS_H #include "strings.h" #endif -#ifdef HAVE_STDLIB_H #include <stdlib.h> -#endif #ifndef NO_RETURN #if defined __GNUC__ && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR >= 5)) |