Index: sql/sql_export.h |
diff --git a/sql/sql_export.h b/sql/sql_export.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..92a01cb20edeb1ba855ed08845d099d55371e2c4 |
--- /dev/null |
+++ b/sql/sql_export.h |
@@ -0,0 +1,26 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef SQL_EXPORT_H_ |
+#define SQL_EXPORT_H_ |
+#pragma once |
+ |
+#if defined(COMPONENT_BUILD) |
+#if defined(WIN32) |
+ |
+#if defined(SQL_IMPLEMENTATION) |
+#define SQL_EXPORT __declspec(dllexport) |
+#else |
+#define SQL_EXPORT __declspec(dllimport) |
+#endif // defined(SQL_IMPLEMENTATION) |
+ |
+#else // defined(WIN32) |
+#define SQL_EXPORT __attribute__((visibility("default"))) |
+#endif |
+ |
+#else // defined(COMPONENT_BUILD) |
+#define SQL_EXPORT |
+#endif |
+ |
+#endif // SQL_EXPORT_H_ |