diff --git a/com.rlabrecque.steamworks.net/Editor/RedistInstall.cs b/com.rlabrecque.steamworks.net/Editor/RedistInstall.cs index 68052a66..3e7a1d7f 100644 --- a/com.rlabrecque.steamworks.net/Editor/RedistInstall.cs +++ b/com.rlabrecque.steamworks.net/Editor/RedistInstall.cs @@ -2,6 +2,12 @@ // Copyright (c) 2013-2022 Riley Labrecque // Please see the included LICENSE.txt for additional information. +#if !(UNITY_STANDALONE_WIN || UNITY_STANDALONE_LINUX || UNITY_STANDALONE_OSX || STEAMWORKS_WIN || STEAMWORKS_LIN_OSX) +#define DISABLESTEAMWORKS +#endif + +#if !DISABLESTEAMWORKS + using UnityEngine; using UnityEditor; using UnityEditor.Build; @@ -88,3 +94,5 @@ static void AddDefineSymbols() } } } + +#endif // !DISABLESTEAMWORKS