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

Unified Diff: chrome/app/breakpad_win.cc

Issue 10704135: Use #pragma comment(lib, "userenv.lib") rather than AdditionalDependencies. It's better. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « no previous file | chrome/chrome_exe.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/breakpad_win.cc
diff --git a/chrome/app/breakpad_win.cc b/chrome/app/breakpad_win.cc
index 100cca513b8768da2ba89384331f2c12bc15b363..9f1e643c5fc8d4ab44dfbaa54661a1e7d4e1c043 100644
--- a/chrome/app/breakpad_win.cc
+++ b/chrome/app/breakpad_win.cc
@@ -9,6 +9,9 @@
#include <tchar.h>
#include <userenv.h>
+// userenv.dll is required for GetProfileType().
+#pragma comment(lib, "userenv.lib")
Ryan Sleevi 2012/07/10 18:20:13 nit: Place this after the #include headers (line 4
grt (UTC plus 2) 2012/07/10 18:28:25 Done. It figures I'd copy the pattern from the le
+
#include <algorithm>
#include <vector>
« no previous file with comments | « no previous file | chrome/chrome_exe.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698