llvm-gcc/clang don't (won't?) need this hack.

llvm-svn: 86769
This commit is contained in:
Daniel Dunbar 2009-11-11 00:28:38 +00:00
parent 6e960c8657
commit bc299f0092
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@
//
// FIXME: This is a huge hack, to work around ridiculously awful compile times
// on this file with gcc-4.2 on Darwin, in Release mode.
#if defined(__APPLE__) && defined(__OPTIMIZE__) && !defined(NDEBUG)
#if (!defined(__llvm__) && defined(__APPLE__) && \
defined(__OPTIMIZE__) && !defined(NDEBUG))
#define NDEBUG
#endif