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

Unified Diff: base/win/pe_image_test.cc

Issue 1370843003: Remove warning pragmas in pe_image.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use ScopedNativeLibrary Created 5 years 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 | « base/win/pe_image.cc ('k') | base/win/pe_image_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/pe_image_test.cc
diff --git a/base/win/pe_image_test.cc b/base/win/pe_image_test.cc
index e374598ada750f1d41907807a173f4ba933d18e7..85914958961f96379120c484c7cbc2e534b4a416 100644
--- a/base/win/pe_image_test.cc
+++ b/base/win/pe_image_test.cc
@@ -7,6 +7,8 @@
#include <cfgmgr32.h>
#include <shellapi.h>
+#pragma comment(linker, "/export:FwdExport=KERNEL32.CreateFileA")
+
extern "C" {
__declspec(dllexport) void ExportFunc1() {
« no previous file with comments | « base/win/pe_image.cc ('k') | base/win/pe_image_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698