瀏覽代碼

undef set_key

David Rose 21 年之前
父節點
當前提交
5887770666
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      dtool/src/prc/prcKeyRegistry.h

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

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