From ecb3df1cea873736bab78043a3f8c7af65621dba Mon Sep 17 00:00:00 2001 From: "kbr@chromium.org" Date: Fri, 5 Feb 2010 20:26:13 +0000 Subject: Fixed build problem on Mac OS X 10.6. precompile.h is inferred by name to be a C file, but it includes C++ headers like and . In order for the compiler to find these headers it was necessary to force it to treat this as a C++ header. This fix was determined to be necessary on multiple machines running Xcode 3.2.1. It has also been tested on 10.5 with no ill effects. Review URL: http://codereview.chromium.org/572026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38235 0039d316-1c4b-4281-b951-d872f2087c98 --- o3d/core/core.gyp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'o3d') diff --git a/o3d/core/core.gyp b/o3d/core/core.gyp index 218a010..fb2f04d 100644 --- a/o3d/core/core.gyp +++ b/o3d/core/core.gyp @@ -330,6 +330,7 @@ }, 'xcode_settings': { 'GCC_PREFIX_HEADER': 'cross/precompile.h', + 'GCC_PFE_FILE_C_DIALECTS': 'c++', }, }, ], @@ -348,6 +349,7 @@ { 'xcode_settings': { 'GCC_PREFIX_HEADER': 'cross/precompile.h', + 'GCC_PFE_FILE_C_DIALECTS': 'c++', }, }, ], -- cgit v1.1