diff options
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 |