summaryrefslogtreecommitdiffstats
path: root/base/atomicops.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-15 06:15:04 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-15 06:15:04 +0000
commit0c6f3b0c5f6409496fcecab0819b062f36d9b113 (patch)
treeaa589efa568cd3792d1890ba37a8644491ec51f0 /base/atomicops.h
parent71cb4cd0c41e892aac8e29fd52cd0f935573aa36 (diff)
downloadchromium_src-0c6f3b0c5f6409496fcecab0819b062f36d9b113.zip
chromium_src-0c6f3b0c5f6409496fcecab0819b062f36d9b113.tar.gz
chromium_src-0c6f3b0c5f6409496fcecab0819b062f36d9b113.tar.bz2
OpenBSD: make it possible to build libbase.a.
This still needs a little hack. I had to run gyp_chromium this way: CHROMIUM_GYP_FILE="base/base.gyp" build/gyp_chromium -DOS=openbsd \ -Duse_gnome_keyring=0 -Duse_system_libevent=1 And then run "gmake base". BUG=none Review URL: http://codereview.chromium.org/6840023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81709 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/atomicops.h')
-rw-r--r--base/atomicops.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/atomicops.h b/base/atomicops.h
index 1f656e7..5b2b9dd 100644
--- a/base/atomicops.h
+++ b/base/atomicops.h
@@ -145,4 +145,10 @@ Atomic64 Release_Load(volatile const Atomic64* ptr);
#error "Atomic operations are not supported on your platform"
#endif
+// On some platforms we need additional declarations to make
+// AtomicWord compatible with our other Atomic* types.
+#if defined(OS_MACOSX) || defined(OS_OPENBSD)
+#include "base/atomicops_internals_atomicword_compat.h"
+#endif
+
#endif // BASE_ATOMICOPS_H_