(__libc_cleanup_push,__libc_cleanup_pop): Define even here.
authordrepper <drepper>
Fri, 1 Aug 2003 18:12:43 +0000 (18:12 +0000)
committerdrepper <drepper>
Fri, 1 Aug 2003 18:12:43 +0000 (18:12 +0000)
bits/libc-lock.h
sysdeps/generic/bits/libc-lock.h

index 9a99d51..d87bd9b 100644 (file)
   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
index 9a99d51..d87bd9b 100644 (file)
   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