diff --git a/src/OpenTK/Math/Point.cs b/src/OpenTK/Math/Point.cs index 0ce27db4..c5f61ecd 100644 --- a/src/OpenTK/Math/Point.cs +++ b/src/OpenTK/Math/Point.cs @@ -23,9 +23,11 @@ // OTHER DEALINGS IN THE SOFTWARE. // +#if MINIMAL +using System; + namespace OpenTK { -#if MINIMAL /// /// Defines a point on a two-dimensional plane. /// @@ -167,5 +169,5 @@ namespace OpenTK return X == other.X && Y == other.Y; } } -#endif } +#endif \ No newline at end of file diff --git a/src/OpenTK/Math/Rectangle.cs b/src/OpenTK/Math/Rectangle.cs index 20ccae27..836f2df5 100644 --- a/src/OpenTK/Math/Rectangle.cs +++ b/src/OpenTK/Math/Rectangle.cs @@ -23,9 +23,11 @@ // OTHER DEALINGS IN THE SOFTWARE. // +#if MINIMAL +using System; + namespace OpenTK { - #if MINIMAL /// /// Represents a rectangular region on a two-dimensional plane. /// @@ -284,5 +286,5 @@ namespace OpenTK Size.Equals(other.Size); } } -#endif } +#endif diff --git a/src/OpenTK/Math/Size.cs b/src/OpenTK/Math/Size.cs index 3d49c078..b7c23fdc 100644 --- a/src/OpenTK/Math/Size.cs +++ b/src/OpenTK/Math/Size.cs @@ -23,9 +23,11 @@ // OTHER DEALINGS IN THE SOFTWARE. // +#if MINIMAL +using System; + namespace OpenTK { -#if MINIMAL /// /// Stores the width and height of a rectangle. /// @@ -155,5 +157,5 @@ namespace OpenTK } } -#endif } +#endif \ No newline at end of file diff --git a/src/OpenTK/Minimal.cs b/src/OpenTK/Minimal.cs index 5cd83855..7dafd385 100644 --- a/src/OpenTK/Minimal.cs +++ b/src/OpenTK/Minimal.cs @@ -1,7 +1,5 @@ -#if !MINIMAL -#endif - -#if ANDROID || IPHONE || MINIMAL +#if ANDROID || IPHONE || MINIMAL +using System; namespace OpenTK {