| Index: mojo/public/c/test_support/test_support_export.h
|
| diff --git a/mojo/public/c/test_support/test_support_export.h b/mojo/public/c/test_support/test_support_export.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e22a9e30144197d7bab029681aa72a351c14f283
|
| --- /dev/null
|
| +++ b/mojo/public/c/test_support/test_support_export.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright 2014 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 MOJO_PUBLIC_C_TEST_SUPPORT_TEST_SUPPORT_EXPORT_H_
|
| +#define MOJO_PUBLIC_C_TEST_SUPPORT_TEST_SUPPORT_EXPORT_H_
|
| +
|
| +#if defined(WIN32)
|
| +
|
| +#if defined(MOJO_TEST_SUPPORT_IMPLEMENTATION)
|
| +#define MOJO_TEST_SUPPORT_EXPORT __declspec(dllexport)
|
| +#else
|
| +#define MOJO_TEST_SUPPORT_EXPORT __declspec(dllimport)
|
| +#endif
|
| +
|
| +#else // !defined(WIN32)
|
| +
|
| +#if defined(MOJO_TEST_SUPPORT_IMPLEMENTATION)
|
| +#define MOJO_TEST_SUPPORT_EXPORT __attribute__((visibility("default")))
|
| +#else
|
| +#define MOJO_TEST_SUPPORT_EXPORT
|
| +#endif
|
| +
|
| +#endif // defined(WIN32)
|
| +
|
| +#endif // MOJO_PUBLIC_C_TEST_SUPPORT_TEST_SUPPORT_EXPORT_H_
|
|
|