Update source files for pre-3.0 deprecation
[openssl.git] / crypto / rand / rand_win.c
index 5f67c87c3c049ec88c860fbf49e08f96505d6d02..40b0de92099b8b440680be4904755f2fa6fa8a3e 100644 (file)
@@ -163,7 +163,7 @@ int rand_pool_add_additional_data(RAND_POOL *pool)
     return rand_pool_add(pool, (unsigned char *)&data, sizeof(data), 0);
 }
 
-# if !OPENSSL_API_1_1_0 && !defined(FIPS_MODE)
+# if !defined(OPENSSL_NO_DEPRECATED_1_1_0) && !defined(FIPS_MODE)
 int RAND_event(UINT iMsg, WPARAM wParam, LPARAM lParam)
 {
     RAND_poll();