#ifndef __GAME_DATA_H__ #define __GAME_DATA_H__ #ifndef GAME_IS_CREATE_SHOP #define GAME_IS_CREATE_SHOP 1 #endif#endif
//使用方法 #include "GameData.h" #if GAME_IS_CREATE_SHOP //你的代码 #endif