]> git.sesse.net Git - vlc/commit
ifdef out 32-bit Carbon API calls on x86_64
authorDavid Menestrina <dmenest-vlc@ofb.net>
Fri, 16 Apr 2010 01:34:44 +0000 (18:34 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 23 Apr 2010 22:47:12 +0000 (00:47 +0200)
commit4e01592ec1c27e28e606a75cd5d9848b7da1a821
tree063a1a28d3b3ea0829f6d2f75afec192711cc463
parent877bd2105b0bdbc2b8c3fc87855ea737834568b0
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>
projects/mozilla/vlcshell.cpp