* stdio-common/stdio_lim.h.in (L_cuserid): Not part of POSIX since
authorUlrich Drepper <drepper@redhat.com>
Sat, 25 Apr 2009 16:59:29 +0000 (16:59 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 25 Apr 2009 16:59:29 +0000 (16:59 +0000)
the 2001 revision.

ChangeLog
stdio-common/stdio_lim.h.in

index 1f749c5..348d7f3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2009-04-25  Ulrich Drepper  <drepper@redhat.com>
 
+       * stdio-common/stdio_lim.h.in (L_cuserid): Not part of POSIX since
+       the 2001 revision.
+
        * libio/tst-widetext.input: Remove surrogates.
 
        * include/features.h: _POSIX_C_SOURCE >= 200112L implies C99.
index bb496c5..806326d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1997, 1998, 1999, 2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -27,7 +27,9 @@
 
 # ifdef __USE_POSIX
 #  define L_ctermid @L_ctermid@
-#  define L_cuserid @L_cuserid@
+#  ifndef __USE_XOPEN2K
+#   define L_cuserid @L_cuserid@
+#  endif
 # endif
 #endif