include 0104 if PROTO_VERSION is undefined

This commit is contained in:
CPunch 2020-08-21 14:29:09 -05:00
parent cd19c54824
commit 3fe1a02200

View File

@ -33,7 +33,7 @@ uint64_t getTime();
// The PROTOCOL_VERSION definition is defined by the build system. // The PROTOCOL_VERSION definition is defined by the build system.
#if !defined(PROTOCOL_VERSION) #if !defined(PROTOCOL_VERSION)
#error "PROTOCOL_VERSION not defined" #include "structs/0104.hpp"
#elif PROTOCOL_VERSION == 728 #elif PROTOCOL_VERSION == 728
#include "structs/0728.hpp" #include "structs/0728.hpp"
#elif PROTOCOL_VERSION == 104 #elif PROTOCOL_VERSION == 104