diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-16 21:54:17 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-16 21:54:17 +0000 |
commit | 81cea2ab9c2eea5de9e6af8358d4c8b0be4b2b98 (patch) | |
tree | db051f42d06402783bdc9885dea959999e9b7e89 /libiberty | |
parent | 43eb13f74ccae38d7f1108c96f49cee6a0118b28 (diff) | |
download | gcc-81cea2ab9c2eea5de9e6af8358d4c8b0be4b2b98.tar.gz |
Update test for token pasting to also check "|| defined(ALMOST_STDC)"
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47108 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/regex.c | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 2c392e6dbf8..7fdce6ab1b5 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,7 +1,8 @@ 2001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - * regex.c: Check defined(__STDC__) || defined(HAVE_STRINGIZE) - to determine whether ISO CPP token pasting is available. + * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) || + defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting + is available. Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com) diff --git a/libiberty/regex.c b/libiberty/regex.c index 375575a5cfe..a64cd562736 100644 --- a/libiberty/regex.c +++ b/libiberty/regex.c @@ -612,7 +612,7 @@ typedef enum # define UCHAR_T unsigned char # define COMPILED_BUFFER_VAR bufp->buffer # define OFFSET_ADDRESS_SIZE 2 -# if defined (__STDC__) || defined (HAVE_STRINGIZE) +# if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE) # define PREFIX(name) byte_##name # else # define PREFIX(name) byte_/**/name @@ -626,7 +626,7 @@ typedef enum # define COMPILED_BUFFER_VAR wc_buffer # define OFFSET_ADDRESS_SIZE 1 /* the size which STORE_NUMBER macro use */ # define CHAR_CLASS_SIZE ((__alignof__(wctype_t)+sizeof(wctype_t))/sizeof(CHAR_T)+1) -# if defined (__STDC__) || defined (HAVE_STRINGIZE) +# if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE) # define PREFIX(name) wcs_##name # define ARG_PREFIX(name) c##name # else |