Browse Source

remove __has_include

Grant Limberg 5 năm trước cách đây
mục cha
commit
35b5780907
1 tập tin đã thay đổi với 0 bổ sung7 xóa
  1. 0 7
      core/Constants.hpp

+ 0 - 7
core/Constants.hpp

@@ -17,14 +17,7 @@
 #include "zerotier.h"
 #include "OS.hpp"
 
-#if __has_include("version.h")
 #include "version.h"
-#else /* dummy values for use inside IDEs, etc. */
-#define ZEROTIER_VERSION_MAJOR 255
-#define ZEROTIER_VERSION_MINOR 255
-#define ZEROTIER_VERSION_REVISION 255
-#define ZEROTIER_VERSION_BUILD 255
-#endif
 
 /**
  * Version bit packed into four 16-bit fields in a 64-bit unsigned integer.