mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-21 21:20:04 +00:00
Default PROTOCOL_VERSION to 104
This commit is contained in:
parent
44560a46b7
commit
8d04f31c61
@ -50,13 +50,15 @@ time_t getTime();
|
|||||||
time_t getTimestamp();
|
time_t getTimestamp();
|
||||||
void terminate(int);
|
void terminate(int);
|
||||||
|
|
||||||
// The PROTOCOL_VERSION definition is defined by the build system.
|
// The PROTOCOL_VERSION definition can be defined by the build system.
|
||||||
#if !defined(PROTOCOL_VERSION)
|
#if !defined(PROTOCOL_VERSION)
|
||||||
|
#define PROTOCOL_VERSION 104
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if PROTOCOL_VERSION == 104
|
||||||
#include "structs/0104.hpp"
|
#include "structs/0104.hpp"
|
||||||
#elif PROTOCOL_VERSION == 728
|
#elif PROTOCOL_VERSION == 728
|
||||||
#include "structs/0728.hpp"
|
#include "structs/0728.hpp"
|
||||||
#elif PROTOCOL_VERSION == 104
|
|
||||||
#include "structs/0104.hpp"
|
|
||||||
#elif PROTOCOL_VERSION == 1013
|
#elif PROTOCOL_VERSION == 1013
|
||||||
#include "structs/1013.hpp"
|
#include "structs/1013.hpp"
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user