avoid -DPLATFORM=\"...\" and -DCFLAGS=\"...\" command lines,
[openssl.git] / crypto / cryptlib.c
index 78087655aa736951c16635668209a2477f30b04b..356c476a993db3f2511bc2e946a0d6f61639d1b6 100644 (file)
@@ -60,7 +60,6 @@
 #include <string.h>
 #include "cryptlib.h"
 #include <openssl/crypto.h>
-#include "date.h"
 
 #if defined(WIN32) || defined(WIN16)
 static double SSLeay_MSVC5_hack=0.0; /* and for VC1.5 */
@@ -133,6 +132,11 @@ int CRYPTO_get_new_lockid(char *name)
        return(i);
        }
 
+int CRYPTO_num_locks(void)
+       {
+       return CRYPTO_NUM_LOCKS;
+       }
+
 void (*CRYPTO_get_locking_callback(void))(int mode,int type,const char *file,
                int line)
        {