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

Unified Diff: crypto/crypto_api.h

Issue 7168004: crypto: Add critpto_api.h and annotate the current exports needed to run (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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 | « crypto/crypto.gyp ('k') | crypto/encryptor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/crypto_api.h
===================================================================
--- crypto/crypto_api.h (revision 0)
+++ crypto/crypto_api.h (revision 0)
@@ -0,0 +1,23 @@
+// 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 CRYPTO_CRYPTO_API_H_
+#define CRYPTO_CRYPTO_API_H_
+#pragma once
+
+#if defined(CRYPTO_DLL)
+#if defined(WIN32)
+#if defined(CRYPTO_IMPLEMENTATION)
+#define CRYPTO_API __declspec(dllexport)
+#else
+#define CRYPTO_API __declspec(dllimport)
+#endif // defined(CRYPTO_IMPLEMENTATION)
+#else
+#define CRYPTO_API __attribute__((visibility("default")))
+#endif // defined(WIN32)
+#else
+#define CRYPTO_API
+#endif
+
+#endif // CRYPTO_CRYPTO_API_H_
Property changes on: crypto\crypto_api.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « crypto/crypto.gyp ('k') | crypto/encryptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698