Fix icc warnings: HASH_OBJ_CONSTRUCTOR was not defined and using #if HASH_OBJ_CONSTRUCTOR

This commit is contained in:
Neal Norwitz 2006-01-08 01:08:09 +00:00
parent 46b7bda9bc
commit e4ab5f5531

View file

@ -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 */