Index: src/cmake-config/config.h.in
--- src/cmake-config/config.h.in.orig
+++ src/cmake-config/config.h.in
@@ -33,8 +33,8 @@ namespace file_group {
 
 namespace proto {
 constexpr int server() { return @DRAWPILE_PROTO_SERVER_VERSION@; }
-constexpr int major() { return @DRAWPILE_PROTO_MAJOR_VERSION@; }
-constexpr int minor() { return @DRAWPILE_PROTO_MINOR_VERSION@; }
+constexpr int _major() { return @DRAWPILE_PROTO_MAJOR_VERSION@; }
+constexpr int _minor() { return @DRAWPILE_PROTO_MINOR_VERSION@; }
 constexpr int port() { return @DRAWPILE_PROTO_DEFAULT_PORT@; }
 } // namespace proto
 
