Skip to content

Commit

Permalink
Don't even compile legacy Mac HID Utilities for x86_64; it doesn't ev…
Browse files Browse the repository at this point in the history
…er work.
  • Loading branch information
icculus committed Apr 26, 2011
1 parent 7e0bbbc commit a25cfef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion macosx_hidutilities.c
Expand Up @@ -10,7 +10,12 @@

#include "manymouse.h"

#if ( (defined(__MACH__)) && (defined(__APPLE__)) )
/*
* These APIs exist on x86_64 in 10.6, but don't actually work (they'll work
* for 32-bit x86 binaries in 10.6, though!). HID Utilities is for legacy
* Macs, going forward you want macosx_hidmanager.c instead.
*/
#if ( (defined(__APPLE__)) && (defined(i386) || defined(__POWERPC__)) )

/*
* This source is almost entirely lifted from Apple's HID Utilities
Expand Down

0 comments on commit a25cfef

Please sign in to comment.