Skip to content

Commit

Permalink
[BZ #4364]
Browse files Browse the repository at this point in the history
2007-04-16  Ulrich Drepper  <drepper@redhat.com>
	[BZ #4364]
	* posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3.
  • Loading branch information
Ulrich Drepper committed Apr 16, 2007
1 parent c14f245 commit faf3ad6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2007-04-16 Ulrich Drepper <drepper@redhat.com>

[BZ #4364]
* posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3.

2007-04-15 Jakub Jelinek <jakub@redhat.com>

* locale/programs/locarchive.c (INITIAL_NUM_NAMES,
Expand Down
6 changes: 4 additions & 2 deletions posix/unistd.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1991-2002,2003,2004,2005,2006 Free Software Foundation, Inc.
/* Copyright (C) 1991-2006, 2007 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
Expand Down Expand Up @@ -56,7 +56,9 @@ __BEGIN_DECLS
#define _POSIX2_LOCALEDEF 200112L

/* X/Open version number to which the library conforms. It is selectable. */
#ifdef __USE_UNIX98
#ifdef __USE_XOPEN2K
# define _XOPEN_VERSION 600
#elif defined __USE_UNIX98
# define _XOPEN_VERSION 500
#else
# define _XOPEN_VERSION 4
Expand Down

0 comments on commit faf3ad6

Please sign in to comment.