mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Fix icc warnings: HASH_OBJ_CONSTRUCTOR was not defined and using #if HASH_OBJ_CONSTRUCTOR
This commit is contained in:
parent
46b7bda9bc
commit
e4ab5f5531
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,10 @@
|
|||
#include <openssl/evp.h>
|
||||
|
||||
|
||||
#ifndef HASH_OBJ_CONSTRUCTOR
|
||||
#define HASH_OBJ_CONSTRUCTOR 0
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
PyObject *name; /* name of this hash algorithm */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue