From 3fe1a02200312ec8b8f676619c29fb481b29056c Mon Sep 17 00:00:00 2001 From: CPunch Date: Fri, 21 Aug 2020 14:29:09 -0500 Subject: [PATCH] include 0104 if PROTO_VERSION is undefined --- src/CNStructs.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CNStructs.hpp b/src/CNStructs.hpp index f41e1ea..113d794 100644 --- a/src/CNStructs.hpp +++ b/src/CNStructs.hpp @@ -33,7 +33,7 @@ uint64_t getTime(); // The PROTOCOL_VERSION definition is defined by the build system. #if !defined(PROTOCOL_VERSION) - #error "PROTOCOL_VERSION not defined" + #include "structs/0104.hpp" #elif PROTOCOL_VERSION == 728 #include "structs/0728.hpp" #elif PROTOCOL_VERSION == 104