Update test for token pasting to also check "|| defined(ALMOST_STDC)"
From-SVN: r47108
This commit is contained in:
parent
23850d35ec
commit
2c47b56b0a
@ -1,7 +1,8 @@
|
|||||||
2001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
2001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||||
|
|
||||||
* regex.c: Check defined(__STDC__) || defined(HAVE_STRINGIZE)
|
* regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
|
||||||
to determine whether ISO CPP token pasting is available.
|
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)
|
Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
|
@ -612,7 +612,7 @@ typedef enum
|
|||||||
# define UCHAR_T unsigned char
|
# define UCHAR_T unsigned char
|
||||||
# define COMPILED_BUFFER_VAR bufp->buffer
|
# define COMPILED_BUFFER_VAR bufp->buffer
|
||||||
# define OFFSET_ADDRESS_SIZE 2
|
# 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
|
# define PREFIX(name) byte_##name
|
||||||
# else
|
# else
|
||||||
# define PREFIX(name) byte_/**/name
|
# define PREFIX(name) byte_/**/name
|
||||||
@ -626,7 +626,7 @@ typedef enum
|
|||||||
# define COMPILED_BUFFER_VAR wc_buffer
|
# define COMPILED_BUFFER_VAR wc_buffer
|
||||||
# define OFFSET_ADDRESS_SIZE 1 /* the size which STORE_NUMBER macro use */
|
# 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)
|
# 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 PREFIX(name) wcs_##name
|
||||||
# define ARG_PREFIX(name) c##name
|
# define ARG_PREFIX(name) c##name
|
||||||
# else
|
# else
|
||||||
|
Loading…
Reference in New Issue
Block a user