summaryrefslogtreecommitdiff
path: root/posix/regex_internal.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-05-20 09:40:04 +0000
committerJakub Jelinek <jakub@redhat.com>2005-05-20 09:40:04 +0000
commit31f622b5c7ea544de23cfb85f0023069b613a8d5 (patch)
tree7d4cd37af8ee05b2c6b2b58410fd66cecd1aa694 /posix/regex_internal.h
parentec325445c659c89402ce8b877c429146b22084be (diff)
Updated to fedora-glibc-20050520T0919
Diffstat (limited to 'posix/regex_internal.h')
-rw-r--r--posix/regex_internal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index 58fa749e90..6db384416a 100644
--- a/posix/regex_internal.h
+++ b/posix/regex_internal.h
@@ -39,6 +39,14 @@
#if defined HAVE_WCTYPE_H || defined _LIBC
# include <wctype.h>
#endif /* HAVE_WCTYPE_H || _LIBC */
+#if defined _LIBC
+# include <bits/libc-lock.h>
+#else
+# define __libc_lock_define(CLASS,NAME)
+# define __libc_lock_init(NAME) do { } while (0)
+# define __libc_lock_lock(NAME) do { } while (0)
+# define __libc_lock_unlock(NAME) do { } while (0)
+#endif
/* In case that the system doesn't have isblank(). */
#if !defined _LIBC && !defined HAVE_ISBLANK && !defined isblank
@@ -647,6 +655,7 @@ struct re_dfa_t
#ifdef DEBUG
char* re_str;
#endif
+ __libc_lock_define (, lock)
};
#ifndef RE_NO_INTERNAL_PROTOTYPES