about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-08-01 18:13:17 +0000
committerUlrich Drepper <drepper@redhat.com>2003-08-01 18:13:17 +0000
commit20eb79709e3ecf0038a1e564adc7693b6b4f0beb (patch)
tree52276e462bca9ef0bf7ef18eafc2dd12f8c8ab92 /sysdeps/generic
parentb792218d494b085a76f200b1aae82d6f54c84efc (diff)
downloadglibc-20eb79709e3ecf0038a1e564adc7693b6b4f0beb.tar.gz
glibc-20eb79709e3ecf0038a1e564adc7693b6b4f0beb.tar.xz
glibc-20eb79709e3ecf0038a1e564adc7693b6b4f0beb.zip
Update.
2003-08-01  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/bits/libc-lock.h
	(__libc_cleanup_push,__libc_cleanup_pop): Define even here.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/bits/libc-lock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/generic/bits/libc-lock.h b/sysdeps/generic/bits/libc-lock.h
index 9a99d51bfd..d87bd9b03a 100644
--- a/sysdeps/generic/bits/libc-lock.h
+++ b/sysdeps/generic/bits/libc-lock.h
@@ -117,6 +117,8 @@
   if ((DOIT) && __save_FCT != 0)					    \
     (*__save_FCT)(__save_ARG);						    \
 
+#define __libc_cleanup_push(fct, arg) __libc_cleanup_region_start (1, fct, arg)
+#define __libc_cleanup_pop(execute) __libc_cleanup_end (execute)
 
 /* We need portable names for some of the functions.  */
 #define __libc_mutex_unlock