Skip to content

Commit 3d7343f

Browse files
committed
integrate the applink shim in the other bins
1 parent 5944434 commit 3d7343f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

sapi/cgi/cgi_main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ int __riscosify_control = __RISCOSIFY_STRICT_UNIX_SPECS;
9292

9393
#include "fastcgi.h"
9494

95+
#if defined(PHP_WIN32) && defined(HAVE_OPENSSL)
96+
# include "openssl/applink.c"
97+
#endif
98+
9599
#ifndef PHP_WIN32
96100
/* XXX this will need to change later when threaded fastcgi is implemented. shane */
97101
struct sigaction act, old_term, old_quit, old_int;

sapi/phpdbg/phpdbg.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@
4848
# include <arpa/inet.h>
4949
#endif /* }}} */
5050

51+
#if defined(PHP_WIN32) && defined(HAVE_OPENSSL)
52+
# include "openssl/applink.c"
53+
#endif
54+
5155
ZEND_DECLARE_MODULE_GLOBALS(phpdbg);
5256
int phpdbg_startup_run = 0;
5357

0 commit comments

Comments
 (0)