ifdef out 32-bit Carbon API calls on x86_64
commit56335ed186a104492806ecc345bfc72195ae3b67
authorDavid Menestrina <dmenest-vlc@ofb.net>
Fri, 16 Apr 2010 01:34:44 +0000 (15 18:34 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 27 Apr 2010 21:44:46 +0000 (27 23:44 +0200)
tree524be4aad1578e38016215c8a680fb316b416ff2
parentadafc8bbd1251ca8c599e49cbb58192d887fe33c
ifdef out 32-bit Carbon API calls on x86_64

The Mac OS Carbon APIs are not available to 64-bit applications.
This change just ifdefs out calls to them to avoid compiler errors.
In 64-bit, NPP_HandleEvent will have to be rewritten to use the
Cocoa event model.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 4e01592ec1c27e28e606a75cd5d9848b7da1a821)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
projects/mozilla/vlcshell.cpp