1 /* Copyright (C) 2000 Aladdin Enterprises. All rights reserved. 2 3 This software is provided AS-IS with no warranty, either express or 4 implied. 5 6 This software is distributed under license and may not be copied, 7 modified or distributed except as expressly authorized under the terms 8 of the license contained in the file LICENSE in this distribution. 9 10 For more information about licensing, please refer to 11 http://www.ghostscript.com/licensing/. For information on 12 commercial licensing, go to http://www.artifex.com/licensing/ or 13 contact Artifex Software, Inc., 101 Lucas Valley Road #110, 14 San Rafael, CA 94903, U.S.A., +1(415)492-9861. 15 */ 16 17 /* $Id: gxstdio.h,v 1.4 2002/02/21 22:24:53 giles Exp $ */ 18 /* stdio back door */ 19 20 #ifndef gxstdio_INCLUDED 21 # define gxstdio_INCLUDED 22 23 /* 24 * The library and interpreter never use stdin/out/err directly, but 25 * for the moment we have to keep them around for contributed drivers, 26 * some of which write to stdout or stderr. 27 */ 28 #include "gsio.h" 29 30 #undef stdin 31 #define stdin gs_stdin 32 #undef stdout 33 #define stdout gs_stdout 34 #undef stderr 35 #define stderr gs_stderr 36 #undef fgetchar 37 38 #endif /* gxstdio_INCLUDED */ 39 40