diff options
author | Fabian Groffen <grobian@gentoo.org> | 2011-12-12 21:22:08 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2011-12-12 21:22:08 +0000 |
commit | 8ab10da1f8de70cc8afcf601941e5a311b1579b6 (patch) | |
tree | 774dd895a14dc156a1474aa620e33fdf0c41a2bf /main.h | |
parent | fix in-tree testing (diff) | |
download | portage-utils-8ab10da1f8de70cc8afcf601941e5a311b1579b6.tar.gz portage-utils-8ab10da1f8de70cc8afcf601941e5a311b1579b6.tar.bz2 portage-utils-8ab10da1f8de70cc8afcf601941e5a311b1579b6.zip |
Fix building on Solaris. Cannot assign stdout there.
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* * Copyright 2005-2010 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/portage-utils/main.h,v 1.12 2011/12/12 21:14:02 vapier Exp $ + * $Header: /var/cvsroot/gentoo-projects/portage-utils/main.h,v 1.13 2011/12/12 21:22:08 grobian Exp $ * * Copyright 2005-2010 Ned Ludd - <solar@gentoo.org> * Copyright 2005-2010 Mike Frysinger - <vapier@gentoo.org> @@ -82,6 +82,10 @@ # define O_CLOEXEC 0 #endif +/* stdout cannot be assigned to on some non-Linux platforms */ +extern FILE *pu_stdout; +#define stdout pu_stdout + #ifndef EPREFIX #define EPREFIX "/" #endif |