]> sourceware.org Git - glibc.git/commitdiff
Include bits/libc-lock.h or define dummy __libc_lock_* macros if not _LIBC. (struct...
authorUlrich Drepper <drepper@redhat.com>
Fri, 6 May 2005 23:31:06 +0000 (23:31 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 6 May 2005 23:31:06 +0000 (23:31 +0000)
posix/regex_internal.h

index 58fa749e9002eb0c95b8ae4df313522eed922a61..6db384416a4b9994baa378bd57ed4071d27276d9 100644 (file)
 #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
This page took 0.043559 seconds and 5 git commands to generate.