Skip to content

Commit

Permalink
fix library load
Browse files Browse the repository at this point in the history
  • Loading branch information
imaben committed Mar 23, 2017
1 parent f0730e6 commit 2ee7452
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions beast.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,12 @@
#ifdef PHP_WIN32
#include <WinSock2.h>
#include <Iphlpapi.h>
#if ZEND_MODULE_API_NO >= 20151012
#pragma comment(lib, "php7.lib")
#else
#pragma comment(lib, "php5.lib")
#endif
#pragma comment(lib, "Iphlpapi.lib")
#pragma comment(lib, "php5.lib")
#else
#include <pwd.h>
#include <unistd.h>
Expand Down Expand Up @@ -917,7 +921,7 @@ void segmentfault_deadlock_fix(int sig)
static char *get_mac_address(char *networkcard)
{
#ifdef PHP_WIN32

// For windows
ULONG size = sizeof(IP_ADAPTER_INFO);
int ret, i;
Expand Down

0 comments on commit 2ee7452

Please sign in to comment.