Commit 29535ffd authored by ensonic@google.com's avatar ensonic@google.com

mac: use the preprocessor for the mac header

The mac header is using conditional compilation to become neutral for other platforms.
Unfortunately it won't work for all gyp backends, as the gyp file is removing the header
from the sources for non mac platforms. Better use conditionals in the few places
where we use it. That also spares us to explain the hack.


Review URL: http://codereview.chromium.org/8822010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113202 0039d316-1c4b-4281-b951-d872f2087c98
parent 4bb1650e
......@@ -11,6 +11,9 @@
#include "base/compiler_specific.h"
#include "base/eintr_wrapper.h"
#include "base/logging.h"
#if defined(OS_MACOSX)
#include "base/mac/scoped_nsautorelease_pool.h"
#endif
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "base/time.h"
......
......@@ -3,6 +3,9 @@
// found in the LICENSE file.
#include "base/basictypes.h"
#if defined(OS_MACOSX)
#include "base/mac/scoped_nsautorelease_pool.h"
#endif
#include "base/memory/scoped_ptr.h"
#include "base/shared_memory.h"
#include "base/test/multiprocess_test.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment