From 3bc83af3d01d6684756b3b006411b827c7e7dddb Mon Sep 17 00:00:00 2001 From: Forrest Zachary Shooster <forrest.z.shooster@gmail.com> Date: Tue, 1 Oct 2019 16:32:28 -0400 Subject: [PATCH] Creates a compile time constant to allow for compile time checking of the existence of the LSL library Creates a compile time constant to allow for compile time checking of the existence of the LSL library to prevent compile-time errors if the project is not added. --- LSL.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LSL.cs b/LSL.cs index 20f0829..b2c10f6 100644 --- a/LSL.cs +++ b/LSL.cs @@ -2,6 +2,8 @@ using System.Runtime.InteropServices; using System.Collections; +#define LSL4UnityLibrary + /** * C# API for the lab streaming layer. * -- GitLab