]> granicus.if.org Git - python/commitdiff
Fix icc warnings: HASH_OBJ_CONSTRUCTOR was not defined and using #if HASH_OBJ_CONSTRUCTOR
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 8 Jan 2006 01:08:09 +0000 (01:08 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 8 Jan 2006 01:08:09 +0000 (01:08 +0000)
Modules/_hashopenssl.c

index a3fb0527a863be537b0fc70bf2d8f5b1413b4b9f..9bdd274e43e7a9278b45d46ad8e2cf6f83e68f0d 100644 (file)
 #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 */