--- thread.c	2002-03-05 16:55:38.000000000 +0100
+++ thread.c.debian	2003-03-15 09:35:13.000000000 +0100
@@ -40,7 +40,7 @@
 #include "nsopenssl.h"
 #include "thread.h"
 
-#ifndef THREADS
+#ifndef OPENSSL_THREADS
 #error "OpenSSL was not compiled with thread support!"
 #endif
 
