about summary refs log tree commit diff
path: root/posix/regex.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-08-04 23:39:20 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2020-08-04 23:39:20 -0700
commit70c609f30311a4bcd6289b616adaaad4b42ed4a8 (patch)
tree95fc20400e7abedf0829b7f9a4c54b91d5de3340 /posix/regex.c
parent6aa1160d16b0886af125a7e7883aab2203ed156d (diff)
downloadglibc-70c609f30311a4bcd6289b616adaaad4b42ed4a8.tar.gz
glibc-70c609f30311a4bcd6289b616adaaad4b42ed4a8.tar.xz
glibc-70c609f30311a4bcd6289b616adaaad4b42ed4a8.zip
Copy regex BITSET_WORD_BITS porting from Gnulib
* posix/regex.c (__STDC_WANT_IEC_60559_BFP_EXT__):
Define, for ULONG_WIDTH.  This syncs regex.c from Gnujlib.
* posix/regex_internal.h (ULONG_WIDTH):
Use a more-portable fallback, from Gnulib.
(BITSET_WORD_BITS): Now defined in terms of ULONG_WIDTH.
Diffstat (limited to 'posix/regex.c')
-rw-r--r--posix/regex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/posix/regex.c b/posix/regex.c
index 815e2ec769..991eedc826 100644
--- a/posix/regex.c
+++ b/posix/regex.c
@@ -17,6 +17,8 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
+#define __STDC_WANT_IEC_60559_BFP_EXT__
+
 #ifndef _LIBC
 # include <libc-config.h>