CVSROOT: /sources/m4 Module name: m4 Changes by: Gary V. Vaughan <gary> 07/04/02 12:06:23
Index: modules/stdlib.c =================================================================== RCS file: /sources/m4/m4/modules/stdlib.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -b -r1.16 -r1.17 --- modules/stdlib.c 27 Sep 2006 12:24:53 -0000 1.16 +++ modules/stdlib.c 2 Apr 2007 12:06:23 -0000 1.17 @@ -1,5 +1,5 @@ /* GNU m4 -- A simple macro processor - Copyright (C) 1999, 2000, 2001, 2006 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2001, 2006, 2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,18 +20,22 @@ #include <config.h> #include <pwd.h> -#include <stdlib.h> -#include <unistd.h> #if TM_IN_SYS_TIME # include <sys/time.h> #else # include <time.h> #endif #include <sys/utsname.h> -#include <sys/types.h> -#include <m4module.h> +/* Build using only the exported interfaces, unless NDEBUG is set, in + which case use private symbols to speed things up as much as possible. */ +#ifndef NDEBUG +# include <m4/m4module.h> +#else +# include "m4private.h" +#endif +/* Rename exported symbols for dlpreload()ing. */ #define m4_builtin_table stdlib_LTX_m4_builtin_table /* function macros blind side minargs maxargs */