From d1f0e2e885d609d2c41e824bcd777b5f25960ad7 Mon Sep 17 00:00:00 2001 From: goodale Date: Tue, 15 Feb 2000 22:56:58 +0000 Subject: Added #include "cctk_Config.h" to getopt.c and regex.c, and #define REGEX_MALLOC to regex.c to enable compilation under NT. Updated the README to mention these changes. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1383 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/gnu/README | 6 ++++++ src/gnu/getopt.c | 4 ++++ src/gnu/regex.c | 8 ++++++++ 3 files changed, 18 insertions(+) (limited to 'src/gnu') diff --git a/src/gnu/README b/src/gnu/README index 3e53703e..d3f058c0 100644 --- a/src/gnu/README +++ b/src/gnu/README @@ -21,3 +21,9 @@ These files were taken from the source of the GNU C library version 2.1.2, and are licensed under the GNU Library GPL (see COPYING.LIB). +Changes from original version: All changes should be marked with +/* CCTK: ... */ + +15 Feb 2000: getopt.c : Added inclusion of cctk_Config.h : Tom Goodale +15 Feb 2000: regex.c : Added inclusion of cctk_Config.h : Tom Goodale +15 Feb 2000: regex.c : Added #define REGEX_MALLOC : Tom Goodale diff --git a/src/gnu/getopt.c b/src/gnu/getopt.c index efd82235..3dbebdd2 100644 --- a/src/gnu/getopt.c +++ b/src/gnu/getopt.c @@ -27,6 +27,10 @@ # define _NO_PROTO #endif +/* CCTK: Added by Tom Goodale on 15 Feb 2000 */ +#include "cctk_Config.h" +/* CCTK: End of addition. */ + #ifdef HAVE_CONFIG_H # include #endif diff --git a/src/gnu/regex.c b/src/gnu/regex.c index 5f52deb0..a9318ba9 100644 --- a/src/gnu/regex.c +++ b/src/gnu/regex.c @@ -19,6 +19,10 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* CCTK: Added by Tom Goodale on 15 Feb 2000 */ +#define REGEX_MALLOC +/* CCTK: End of addition. */ + /* AIX requires this to be the first thing in the file. */ #if defined _AIX && !defined REGEX_MALLOC #pragma alloca @@ -27,6 +31,10 @@ #undef _GNU_SOURCE #define _GNU_SOURCE +/* CCTK: Added by Tom Goodale on 15 Feb 2000 */ +#include "cctk_Config.h" +/* CCTK: End of addition. */ + #ifdef HAVE_CONFIG_H # include #endif -- cgit v1.2.3