diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-02-15 22:56:58 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-02-15 22:56:58 +0000 |
commit | d1f0e2e885d609d2c41e824bcd777b5f25960ad7 (patch) | |
tree | a2b7605404c0ccaff2c17903c0a501a2b3427fbc /src/gnu | |
parent | a6fd9fbc600a07e8e229e37763ea4401456b2d72 (diff) |
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
Diffstat (limited to 'src/gnu')
-rw-r--r-- | src/gnu/README | 6 | ||||
-rw-r--r-- | src/gnu/getopt.c | 4 | ||||
-rw-r--r-- | src/gnu/regex.c | 8 |
3 files changed, 18 insertions, 0 deletions
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 <config.h> #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 <config.h> #endif |