summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/ISemanticVersion.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/ISemanticVersion.cs')
-rw-r--r--src/StardewModdingAPI/ISemanticVersion.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/ISemanticVersion.cs b/src/StardewModdingAPI/ISemanticVersion.cs
index 27a2f67d..c1a4ca3a 100644
--- a/src/StardewModdingAPI/ISemanticVersion.cs
+++ b/src/StardewModdingAPI/ISemanticVersion.cs
@@ -4,6 +4,9 @@ namespace StardewModdingAPI
{
/// <summary>A semantic version with an optional release tag.</summary>
public interface ISemanticVersion : IComparable<ISemanticVersion>
+#if !SMAPI_1_x
+ , IEquatable<ISemanticVersion>
+#endif
{
/*********
** Accessors