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

Unified Diff: include/utils/win/SkHRESULT.h

Issue 1488813002: CMake, include/: changes to make fiddle 2.0 better (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month 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
Index: include/utils/win/SkHRESULT.h
diff --git a/include/utils/win/SkHRESULT.h b/include/utils/win/SkHRESULT.h
index 4f9d1bec796e11cd6612bd578f9fb2c143db8dd7..a6cc1d21b9db5e7e463453af96a37c7587632826 100644
--- a/include/utils/win/SkHRESULT.h
+++ b/include/utils/win/SkHRESULT.h
@@ -9,6 +9,7 @@
#define SkHRESULT_DEFINED
#include "SkTypes.h"
+#ifdef SK_BUILD_FOR_WIN
void SkTraceHR(const char* file, unsigned long line,
HRESULT hr, const char* msg);
@@ -55,4 +56,5 @@ The HRZ variants will return 0 when FAILED.
#define HRZ(ex) HR_GENERAL(ex, NULL, 0)
#define HRZM(ex, msg) HR_GENERAL(ex, msg, 0)
//@}
-#endif
+#endif // SK_BUILD_FOR_WIN
+#endif // SkHRESULT_DEFINED

Powered by Google App Engine
This is Rietveld 408576698