From: Neal Norwitz Date: Sun, 8 Jan 2006 01:08:09 +0000 (+0000) Subject: Fix icc warnings: HASH_OBJ_CONSTRUCTOR was not defined and using #if HASH_OBJ_CONSTRUCTOR X-Git-Tag: v2.5a0~869 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4ab5f5531d63023ccd2f99ac5e16945e1d51950;p=python Fix icc warnings: HASH_OBJ_CONSTRUCTOR was not defined and using #if HASH_OBJ_CONSTRUCTOR --- diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c index a3fb0527a8..9bdd274e43 100644 --- a/Modules/_hashopenssl.c +++ b/Modules/_hashopenssl.c @@ -18,6 +18,10 @@ #include +#ifndef HASH_OBJ_CONSTRUCTOR +#define HASH_OBJ_CONSTRUCTOR 0 +#endif + typedef struct { PyObject_HEAD PyObject *name; /* name of this hash algorithm */