From: Anatol Belski Date: Fri, 3 Jul 2015 05:10:46 +0000 (+0200) Subject: integrate the applink shim in the other bins X-Git-Tag: php-7.1.0alpha3~25^2~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d7343f609b81ebac95d94480a2615df530806e7;p=php integrate the applink shim in the other bins --- diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index cc04f34cab..3de902a557 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -92,6 +92,10 @@ int __riscosify_control = __RISCOSIFY_STRICT_UNIX_SPECS; #include "fastcgi.h" +#if defined(PHP_WIN32) && defined(HAVE_OPENSSL) +# include "openssl/applink.c" +#endif + #ifndef PHP_WIN32 /* XXX this will need to change later when threaded fastcgi is implemented. shane */ struct sigaction act, old_term, old_quit, old_int; diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 339102c052..31dab3f274 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -48,6 +48,10 @@ # include #endif /* }}} */ +#if defined(PHP_WIN32) && defined(HAVE_OPENSSL) +# include "openssl/applink.c" +#endif + ZEND_DECLARE_MODULE_GLOBALS(phpdbg); int phpdbg_startup_run = 0;