Skip to content

Commit

Permalink
Fix define clash between editor and runtime versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shana committed Aug 25, 2023
1 parent 77915fb commit 3d012cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/com.spoiledcat.utilities.runtime/Runtime/TheVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

using System;
using System.Text.RegularExpressions;
#if SPOILEDCAT_HAS_JSON
#if SPOILEDCAT_HAS_JSON_RUNTIME
using NotSerialized=SpoiledCat.Json.NotSerializedAttribute;
using NotSerializedProperty=SpoiledCat.Json.NotSerializedAttribute;
#else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"defineConstraints": [],
"versionDefines": [
{
"name": "com.spoiledcat.simplejson",
"name": "com.spoiledcat.simplejson.runtime",
"expression": "0.0.0-placeholder",
"define": "SPOILEDCAT_HAS_JSON"
"define": "SPOILEDCAT_HAS_JSON_RUNTIME"
},
{
"name": "com.unity.addressables",
Expand Down

0 comments on commit 3d012cd

Please sign in to comment.