pipe2: Remove dependency on 'nonblocking' module.
[gnulib.git] / lib / xmemdup0.h
index ff118a6..8a64e70 100644 (file)
@@ -26,9 +26,9 @@ extern "C" {
 # endif
 
 # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8)
-#  define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__))
+#  define _GL_ATTRIBUTE_NORETURN __attribute__ ((__noreturn__))
 # else
-#  define ATTRIBUTE_NORETURN /* empty */
+#  define _GL_ATTRIBUTE_NORETURN /* empty */
 # endif
 
 /* This function is always triggered when memory is exhausted.
@@ -36,7 +36,7 @@ extern "C" {
    or by using gnulib's xalloc-die module.  This is the
    function to call when one wants the program to die because of a
    memory allocation failure.  */
-extern void xalloc_die (void) ATTRIBUTE_NORETURN;
+extern void xalloc_die (void) _GL_ATTRIBUTE_NORETURN;
 
 char *xmemdup0 (void const *p, size_t s);