summaryrefslogtreecommitdiffstats
path: root/Modules/_hashopenssl.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-01-08 01:08:09 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-01-08 01:08:09 (GMT)
commite4ab5f5531d63023ccd2f99ac5e16945e1d51950 (patch)
treec236f482e806dff46e498e260c031ac113937022 /Modules/_hashopenssl.c
parent46b7bda9bcd0fb11878a154234c3064e19e35f3c (diff)
downloadcpython-e4ab5f5531d63023ccd2f99ac5e16945e1d51950.zip
cpython-e4ab5f5531d63023ccd2f99ac5e16945e1d51950.tar.gz
cpython-e4ab5f5531d63023ccd2f99ac5e16945e1d51950.tar.bz2
Fix icc warnings: HASH_OBJ_CONSTRUCTOR was not defined and using #if HASH_OBJ_CONSTRUCTOR
Diffstat (limited to 'Modules/_hashopenssl.c')
-rw-r--r--Modules/_hashopenssl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c
index a3fb052..9bdd274 100644
--- a/Modules/_hashopenssl.c
+++ b/Modules/_hashopenssl.c
@@ -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 */