00001 /* 00002 File : noclash.h 00003 Date : 19-Sep-02 00004 Description : Prevent clashes between OSLib and CathLibCPP due to bugs in 00005 CFront. This should be included before any header files from 00006 either of those libraries. 00007 00008 Copyright © 1995-2002 Alexander Thoukydides 00009 00010 This program is free software; you can redistribute it and/or 00011 modify it under the terms of the GNU General Public License 00012 as published by the Free Software Foundation; either version 2 00013 of the License, or (at your option) any later version. 00014 00015 This program is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 GNU General Public License for more details. 00019 00020 You should have received a copy of the GNU General Public License 00021 along with this program; if not, write to the Free Software 00022 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 00023 */ 00024 00025 // Only include header file once 00026 #ifndef NOCLASH_H 00027 #define NOCLASH_H 00028 00029 // Rename structure fields 00030 #define map _map 00031 00032 // Include oslib header files 00033 #include "oslib/os.h" 00034 00035 // Clear temporary redefinition 00036 #undef map 00037 00038 #endif
1.3.3