PixelLightAPI
.
|
00001 /*********************************************************\ 00002 * File: StdIo.h * 00003 * 00004 * Copyright (C) 2002-2011 The PixelLight Team (http://www.pixellight.org/) 00005 * 00006 * This file is part of PixelLight. 00007 * 00008 * PixelLight is free software: you can redistribute it and/or modify 00009 * it under the terms of the GNU Lesser General Public License as published by 00010 * the Free Software Foundation, either version 3 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * PixelLight is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU Lesser General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public License 00019 * along with PixelLight. If not, see <http://www.gnu.org/licenses/>. 00020 \*********************************************************/ 00021 00022 00023 #ifndef __PLCORE_STDIO_H__ 00024 #define __PLCORE_STDIO_H__ 00025 #pragma once 00026 00027 00028 //[-------------------------------------------------------] 00029 //[ Windows ] 00030 //[-------------------------------------------------------] 00031 #ifdef WIN32 00032 // Hmmmpf, not nice. But better than to include <stdio.h>, and as it must only work on Windows, it might be ok :-) 00033 struct _iobuf; 00034 typedef struct _iobuf FILE; 00035 #endif 00036 00037 00038 //[-------------------------------------------------------] 00039 //[ Linux ] 00040 //[-------------------------------------------------------] 00041 #ifdef LINUX 00042 // Is it possible to make a forward declaration also under Linux/*nix? 00043 #include <stdio.h> 00044 #endif 00045 00046 00047 #endif // __PLCORE_STDIO_H__
|