Browse Source

that crazy win32

David Rose 23 years ago
parent
commit
4a02dc38cc
1 changed files with 5 additions and 0 deletions
  1. 5 0
      panda/src/downloader/httpClient.cxx

+ 5 - 0
panda/src/downloader/httpClient.cxx

@@ -33,6 +33,11 @@
 #include <openssl/err.h>
 #endif
 
+// Windows may define this macro inappropriately.
+#ifdef X509_NAME
+#undef X509_NAME
+#endif
+
 bool HTTPClient::_ssl_initialized = false;
 
 // This is created once and never freed.