The preprocessor expression defined(COMPILER_GCC) is used in code copied from the Chromium project, but COMPILER_GCC is not defined by GCC itself, but by the following expression in Chromium's build_config.h: #if defined(__GNUC__) #define COMPILER_GCC 1 #elif // ... It must therefore be changed when copying the code out of the Chromium code base. |
11 years ago | |
|---|---|---|
| .. | ||
| src | Replace defined(COMPILER_GCC) with defined(__GNUC__). | 11 years ago |
| test/cpp-build | TOOLS: Add unit test for ReplaceAll(). | 11 years ago |
| CMakeLists.txt | CPP: Update CMake rules for Google Test to not require a pre-compiled static | 11 years ago |
| gtest.cmake | CPP: Update CMake rules for Google Test to not require a pre-compiled static | 11 years ago |