00001 /* -*- Mode: C++ -*- 00002 * $Id: machine_dependent_compiler_directives.h,v 1.4 2001/09/03 19:37:33 frehe Exp $ 00003 * 00004 * 00005 * COPYRIGHT INFORMATION 00006 * 00007 * This file is part of RoboSoc created by Fredrik Heintz <frehe@ida.liu.se> 00008 * Copyright (C) 1999, 2000 Fredrik Heintz, Linköping University, Sweden 00009 * 00010 * You are allowed to modify and use this code as long as you retain this 00011 * notice. If you make any changes or have any comments I would appreciate 00012 * it if you send me a message. For more information, please see 00013 * http://www.ida.liu.se/~frehe/RoboCup/RoboSoc/ 00014 * 00015 * 00016 * IDENTIFICATION 00017 * 00018 * Filename: machine_depedent_compiler_directives.h 00019 * Unitname: Library 00020 * $Revision: 1.4 $ 00021 * Created by: Fredrik Heintz 1999-xx-xx 00022 * Last modified by $Author: frehe $ $Date: 2001/09/03 19:37:33 $ 00023 * 00024 * 00025 * HISTORY 00026 * 00027 * $Log: machine_dependent_compiler_directives.h,v $ 00028 * Revision 1.4 2001/09/03 19:37:33 frehe 00029 * Moved the RS_NAMESPACE macros back. 00030 * 00031 * Revision 1.3 2001/09/03 19:03:14 frehe 00032 * Moved RS_NAMESPACE macros to library_compiler_types.h and RS_USE_EXCEPTION from library_compiler_types.h. 00033 * 00034 * Revision 1.2 2000/09/05 09:36:41 frehe 00035 * Made minor changes to improve the documentation. 00036 * 00037 * Revision 1.1.1.1 2000/08/31 13:26:03 frehe 00038 * Importet the current version of RoboSoc (soon to be v2.5.0) 00039 */ 00040 00053 #ifndef MACHINE_DEPENDENT_COMPILER_DIRECTIVES_H 00054 #define MACHINE_DEPENDENT_COMPILER_DIRECTIVES_H 00055 00056 00060 #define RS_USE_INLINE 00061 00062 #ifndef RS_USE_INLINE 00063 00064 # define inline 00065 #endif 00066 00067 00072 #define RS_USE_NAMESPACE 00073 00077 #ifdef RS_USE_NAMESPACE 00078 00079 # define RS_NAMESPACE RS 00080 # define RS_BEGIN_NAMESPACE namespace RS_NAMESPACE { 00081 # define RS_END_NAMESPACE } 00082 #else 00083 # define RS_NAMESPACE 00084 # define RS_BEGIN_NAMESPACE 00085 # define RS_END_NAMESPACE 00086 #endif 00087 00088 00096 #define RS_USE_EXCEPTION 00097 00098 00099 #endif // !MACHINE_DEPENDENT_COMPILER_DIRECTIVES_H
1.3-rc3