Browse Source

undef set_key

David Rose 21 năm trước cách đây
mục cha
commit
5887770666
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      dtool/src/prc/prcKeyRegistry.h

+ 3 - 0
dtool/src/prc/prcKeyRegistry.h

@@ -30,6 +30,9 @@
 #include "pvector.h"
 #include <openssl/evp.h>
 
+// Some versions of OpenSSL appear to define this as a macro.  Yucky.
+#undef set_key
+
 ////////////////////////////////////////////////////////////////////
 //       Class : PrcKeyRegistry
 // Description : This class records the set of public keys used to