Index: test/actions-shared-library/lib.h |
=================================================================== |
--- test/actions-shared-library/lib.h (revision 0) |
+++ test/actions-shared-library/lib.h (revision 0) |
@@ -0,0 +1,28 @@ |
+// Copyright 2013 Google Inc. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef LIB_H_ |
+#define LIB_H_ |
+ |
+#if defined(_WIN32) |
+ |
+#if defined(LIB_IMPLEMENTATION) |
+#define LIB_EXPORT __declspec(dllexport) |
+#else |
+#define LIB_EXPORT __declspac(dllimport) |
+#endif |
+ |
+#else |
+ |
+#if defined(LIB_IMPLEMENTATION) |
+#define LIB_EXPORT __attribute__((visibility("default"))) |
+#else |
+#define LIB_EXPORT |
+#endif |
+ |
+#endif |
+ |
+LIB_EXPORT void f(); |
+ |
+#endif // LIB_H_ |
Property changes on: test/actions-shared-library/lib.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |