Changeset 2946 for code/trunk/src
- Timestamp:
- May 1, 2009, 10:20:02 PM (16 years ago)
- Location:
- code/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/OrxonoxConfig.h.in
r2797 r2946 142 142 143 143 /*--------------------------------- 144 * Special Macros 145 *-------------------------------*/ 146 #define MACRO_CONCATENATE_AUX(a, b) a##b 147 #define MACRO_CONCATENATE(a, b) MACRO_CONCATENATE_AUX(a, b) 148 #define MACRO_QUOTEME_AUX(x) #x 149 #define MACRO_QUOTEME(x) MACRO_QUOTEME_AUX(x) 150 151 152 /*--------------------------------- 144 153 * Includes 145 154 *-------------------------------*/ -
code/trunk/src/SpecialConfig.h.in
r2710 r2946 40 40 #define _SpecialConfig_H__ 41 41 42 #include "OrxonoxConfig.h" 43 42 44 /* Set whether we must suffix "ceguilua/" for the CEGUILua.h include */ 43 45 #cmakedefine CEGUILUA_USE_INTERNAL_LIBRARY … … 53 55 /* Using MSVC or XCode IDE */ 54 56 #cmakedefine CMAKE_CONFIGURATION_TYPES 55 56 /* Macros used in the next section */57 #define MACRO_CONCATENATE(str1, str2) str1##str258 #define MACRO_QUOTEME_AUX(x) #x59 #define MACRO_QUOTEME(x) MACRO_QUOTEME_AUX(x)60 57 61 58 /* Handle default ConfigValues */ -
code/trunk/src/core/Game.h
r2927 r2946 44 44 45 45 #define AddGameState(classname, name) \ 46 static bool bGameStateDummy_##classname##__LINE__= orxonox::Game::addGameState(new classname(name))46 static bool MACRO_CONCATENATE(bGameStateDummy_##classname, __LINE__) = orxonox::Game::addGameState(new classname(name)) 47 47 48 48 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.