Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions php_micro.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ here's original copyright notice
BOOL php_win32_init_random_bytes(void);
BOOL php_win32_shutdown_random_bytes(void);
BOOL php_win32_ioutil_init(void);
#if PHP_VERSION_ID < 80400
void php_win32_init_gettimeofday(void);
#endif
#else
# define php_select(m, r, w, e, t) select(m, r, w, e, t)
# include <fcntl.h>
Expand Down Expand Up @@ -588,7 +590,9 @@ int main(int argc, char *argv[])
php_win32_init_random_bytes();
// php_win32_signal_ctrl_handler_init();
php_win32_ioutil_init();
#if PHP_VERSION_ID < 80400
php_win32_init_gettimeofday();
#endif

_fmode = _O_BINARY; /* sets default for file streams to binary */
setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */
Expand Down