Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 14, 2009, 6:35:31 PM (15 years ago)
Author:
rgrieder
Message:

Replacing MACRO_CONCATENATE and MACRO_QUOTEME with the more robust boost versions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/core/Game.h

    r3159 r3169  
    4444#include <vector>
    4545#include <boost/shared_ptr.hpp>
     46#include <boost/preprocessor/cat.hpp>
    4647
    4748#include "OrxonoxClass.h"
     
    5354*/
    5455#define AddGameState(classname, ...) \
    55     static bool MACRO_CONCATENATE(bGameStateDummy_##classname, __LINE__) = orxonox::Game::addGameState(new classname(__VA_ARGS__))
     56    static bool BOOST_PP_CAT(bGameStateDummy_##classname, __LINE__) = orxonox::Game::addGameState(new classname(__VA_ARGS__))
    5657
    5758// tolua_begin
Note: See TracChangeset for help on using the changeset viewer.