Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(446)

Unified Diff: test/actions-shared-library/lib.h

Issue 22382003: Fix running actions and rules on make/mac (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/actions-shared-library/gyptest-prog.py ('k') | test/actions-shared-library/lib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « test/actions-shared-library/gyptest-prog.py ('k') | test/actions-shared-library/lib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698