diff --git a/LSL.cs b/LSL.cs
index 20f0829d968d2a9bbc308fbcec338cc5992abeac..b2c10f696d7826d3030e1558d6c67bfbf3ead571 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.
 *