[Mac] DllImport must be marked as extern
authorthefiddler <stapostol@gmail.com>
Sun, 5 Jan 2014 20:18:20 +0000 (21:18 +0100)
committerthefiddler <stapostol@gmail.com>
Sun, 5 Jan 2014 20:18:20 +0000 (21:18 +0100)
Source/OpenTK/Platform/MacOS/HIDInput.cs

index 7ff0e49..382e1f9 100755 (executable)
@@ -819,7 +819,7 @@ namespace OpenTK.Platform.MacOS
                 CFString inCFRunLoopMode);
 
             [DllImport(hid)]
-            public static void IOHIDManagerUnscheduleFromRunLoop(
+            public static extern void IOHIDManagerUnscheduleFromRunLoop(
                 IOHIDManagerRef inIOHIDManagerRef,
                 CFRunLoop inCFRunLoop,
                 CFString inCFRunLoopMode);