mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00
build fixes for the Mac OS X basic plugin in our plugin SDK. b=459091 sr=dougt
This commit is contained in:
parent
5b77a76c5c
commit
c3ed40be91
@ -14,8 +14,11 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
// This just needs to include npapi headers, change the path to whatever works for you
|
||||
#include "npapi.h"
|
||||
// This just needs to include NPAPI headers, change the path to whatever works
|
||||
// for you. Note that "XP_MACOSX=1" is defined in the project so that the NPAPI
|
||||
// headers know we're compiling for Mac OS X.
|
||||
#include "../../../../base/public/npapi.h"
|
||||
#include "../../../../base/public/npfunctions.h"
|
||||
|
||||
NPError NP_Initialize(NPNetscapeFuncs *browserFuncs);
|
||||
NPError NP_GetEntryPoints(NPPluginFuncs *pluginFuncs);
|
||||
|
@ -189,6 +189,7 @@
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = "XP_MACOSX=1";
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
@ -202,6 +203,7 @@
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = "XP_MACOSX=1";
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
PREBINDING = NO;
|
||||
|
Loading…
x
Reference in New Issue
Block a user