summaryrefslogtreecommitdiff
path: root/win32/winutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/winutil.h')
-rw-r--r--win32/winutil.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/win32/winutil.h b/win32/winutil.h
index ac1d15d571..a01f1fd6f2 100644
--- a/win32/winutil.h
+++ b/win32/winutil.h
@@ -21,3 +21,11 @@ PHPAPI char *php_win_err(int error);
#define php_win_err() php_win_err(GetLastError())
int php_win32_check_trailing_space(const char * path, const int path_len);
PHPAPI php_win32_get_random_bytes(unsigned char *buf, size_t size);
+
+#ifdef ZTS
+void php_win32_init_rng_lock();
+void php_win32_free_rng_lock();
+#else
+#define php_win32_init_rng_lock();
+#define php_win32_free_rng_lock();
+#endif