(Apple) Use HAVE_COCOA/HAVE_COCOATOUCH defines

This commit is contained in:
twinaphex 2015-04-20 00:41:02 +02:00
parent 2f169a42b1
commit 1477ce04b7

View File

@ -25,11 +25,11 @@
#include "../drivers/apple_keycode.h"
#if defined(IOS)
#if defined(HAVE_COCOATOUCH)
#define HIDKEY(X) X
#elif defined(OSX)
#elif defined(HAVE_COCOA)
/* Taken from https://github.com/depp/keycode,
* check keycode.h for license. */