Index: gpu/gpu_plugin/gpu_plugin.cc |
=================================================================== |
--- gpu/gpu_plugin/gpu_plugin.cc (revision 37920) |
+++ gpu/gpu_plugin/gpu_plugin.cc (working copy) |
@@ -120,7 +120,7 @@ |
return NPERR_NO_ERROR; |
} |
-#if defined(OS_LINUX) |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) |
NPError API_CALL NP_Initialize(NPNetscapeFuncs *browser_funcs, |
NPPluginFuncs* plugin_funcs) { |
#else |
@@ -129,7 +129,7 @@ |
if (!browser_funcs) |
return NPERR_INVALID_FUNCTABLE_ERROR; |
-#if defined(OS_LINUX) |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) |
NP_GetEntryPoints(plugin_funcs); |
#endif |