summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-14 00:27:53 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-14 00:27:53 +0000
commit4c3e4fca81fcddc7f128124d051ff73d11dc3234 (patch)
treee782cb72e9772b14b51a9e803a8073c35d501f6b /sandbox
parent1525e618009ced313e10a6c85e69078065fd4906 (diff)
downloadchromium_src-4c3e4fca81fcddc7f128124d051ff73d11dc3234.zip
chromium_src-4c3e4fca81fcddc7f128124d051ff73d11dc3234.tar.gz
chromium_src-4c3e4fca81fcddc7f128124d051ff73d11dc3234.tar.bz2
Remove WIN32 support from sandbox_export.h
R=rvargas@chromium.org Review URL: https://codereview.chromium.org/287653005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270267 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/sandbox_export.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/sandbox/sandbox_export.h b/sandbox/sandbox_export.h
index 0b77303..40a4036 100644
--- a/sandbox/sandbox_export.h
+++ b/sandbox/sandbox_export.h
@@ -5,16 +5,11 @@
#ifndef SANDBOX_SANDBOX_EXPORT_H_
#define SANDBOX_SANDBOX_EXPORT_H_
-#if defined(COMPONENT_BUILD)
#if defined(WIN32)
+#error "sandbox_export.h does not support WIN32."
+#endif
-#if defined(SANDBOX_IMPLEMENTATION)
-#define SANDBOX_EXPORT __declspec(dllexport)
-#else
-#define SANDBOX_EXPORT __declspec(dllimport)
-#endif // defined(GFX_IMPLEMENTATION)
-
-#else // defined(WIN32)
+#if defined(COMPONENT_BUILD)
#if defined(SANDBOX_IMPLEMENTATION)
#define SANDBOX_EXPORT __attribute__((visibility("default")))
@@ -24,7 +19,6 @@
#define SANDBOX_EXPORT_PRIVATE
#endif // defined(SANDBOX_IMPLEMENTATION)
-#endif // defined(WIN32)
#else // defined(COMPONENT_BUILD)
#define SANDBOX_EXPORT