mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
build fixes for the Mac OS X basic plugin in our plugin SDK. b=459091 sr=dougt
This commit is contained in:
parent
810e90b149
commit
3c5947edd0
@ -14,8 +14,11 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
|
||||||
// This just needs to include npapi headers, change the path to whatever works for you
|
// This just needs to include NPAPI headers, change the path to whatever works
|
||||||
#include "npapi.h"
|
// 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_Initialize(NPNetscapeFuncs *browserFuncs);
|
||||||
NPError NP_GetEntryPoints(NPPluginFuncs *pluginFuncs);
|
NPError NP_GetEntryPoints(NPPluginFuncs *pluginFuncs);
|
||||||
|
@ -189,6 +189,7 @@
|
|||||||
buildSettings = {
|
buildSettings = {
|
||||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||||
GCC_C_LANGUAGE_STANDARD = c99;
|
GCC_C_LANGUAGE_STANDARD = c99;
|
||||||
|
GCC_PREPROCESSOR_DEFINITIONS = "XP_MACOSX=1";
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
@ -202,6 +203,7 @@
|
|||||||
buildSettings = {
|
buildSettings = {
|
||||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||||
GCC_C_LANGUAGE_STANDARD = c99;
|
GCC_C_LANGUAGE_STANDARD = c99;
|
||||||
|
GCC_PREPROCESSOR_DEFINITIONS = "XP_MACOSX=1";
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
PREBINDING = NO;
|
PREBINDING = NO;
|
||||||
|
Loading…
Reference in New Issue
Block a user