Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_CRYPTUIAPI_SHIM_H_ | |
| 6 #define CHROME_BROWSER_UI_CRYPTUIAPI_SHIM_H_ | |
| 7 | |
| 8 // cryptuiapi.h includes wincrypt.h which defines macros which conflict with | |
| 9 // OpenSSL's types. This header includes cryptuiapi.h and then wincrypt_shim.h | |
| 10 // which undefines the OpenSSL macros which conflict. Any Chromium headers | |
| 11 // which include cryptuiapi should instead include this header. | |
|
davidben
2017/06/15 23:55:18
Blegh. I wonder how crazy it'd be to add a #define
| |
| 12 | |
| 13 #include <windows.h> | |
| 14 #include <cryptuiapi.h> | |
| 15 | |
| 16 #include "crypto/wincrypt_shim.h" | |
| 17 | |
| 18 #endif // CHROME_BROWSER_UI_CRYPTUIAPI_SHIM_H_ | |
| OLD | NEW |