The windows goo before the guard tricked my tooling
(doing stuff like this on every include is a bit icky, we should
probably fix this somehow)
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
MergeDate: Wed May 6 11:36:08 2026
(Merged from https://github.com/openssl/openssl/pull/31001)
* Unfortunate workaround to avoid symbol conflict with wincrypt.h
* See https://github.com/openssl/openssl/issues/9981
*/
-#if !defined(OSSL_OPENSSL_TYPES_H)
-#define OSSL_OPENSSL_TYPES_H
#ifdef _WIN32
#define WINCRYPT_USE_SYMBOL_PREFIX
#endif
#endif /* OPENSSL_TYPES_H */
-
-#endif /* !defined(OSSL_OPENSSL_TYPES_H) */