X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fcompiler.h;h=e50a5c43121faffd82003aa84fc9d7bff2a4d03f;hb=a09806bb984b32607614df92dd430494d7af05de;hp=8741c68b4a1245d84069d5168eb7c150d0db7179;hpb=551c06f8856d8fd6350324c1cc3ed06366e72c94;p=simgear.git diff --git a/simgear/compiler.h b/simgear/compiler.h index 8741c68b..e50a5c43 100644 --- a/simgear/compiler.h +++ b/simgear/compiler.h @@ -1,19 +1,20 @@ /************************************************************************** * compiler.h -- C++ Compiler Portability Macros * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or (at your option) any later version. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. + * Library General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. * * $Id$ **************************************************************************/ @@ -93,6 +94,25 @@ # endif #endif +/* KAI C++ */ +#if defined(__KCC) + +# define FG_NAMESPACES +# define FG_HAVE_STD +# define FG_HAVE_STREAMBUF +# define FG_HAVE_TRAITS +# define FG_HAVE_STD_INCLUDES + +# define STL_ALGORITHM +# define STL_FUNCTIONAL +# define STL_IOMANIP +# define STL_IOSTREAM +# define STL_FSTREAM +# define STL_STDEXCEPT +# define STL_STRING +# define STL_STRSTREAM +#endif + // // Metrowerks // @@ -117,7 +137,7 @@ # define bcopy(from, to, n) memcpy(to, from, n) // -rp- please use FG_MEM_COPY everywhere ! -# define FG_MEM_COPY(to,from,n) memcpy(to, from, n) +// #define FG_MEM_COPY(to,from,n) memcpy(to, from, n) // -dw- currently used glut has no game mode stuff # define GLUT_WRONG_VERSION