17da0695cc
PR: 249504 Submitted by: Oleh Hushchenkov <o.hushchenkov@gmail.com> (maintainer)
19 lines
310 B
C++
19 lines
310 B
C++
--- src/gn/version.h.orig 2020-09-21 09:21:46 UTC
|
|
+++ src/gn/version.h
|
|
@@ -8,6 +8,15 @@
|
|
#include <optional>
|
|
#include <string>
|
|
|
|
+// Undefine major/minor from sys/types.h
|
|
+#ifdef major
|
|
+#undef major
|
|
+#endif
|
|
+
|
|
+#ifdef minor
|
|
+#undef minor
|
|
+#endif
|
|
+
|
|
// Represents a semantic version.
|
|
class Version {
|
|
public:
|