Skip to content

Commit

Permalink
version 1.1: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
deemru committed Jan 19, 2017
1 parent 3c571a5 commit 19759e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/make.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cl /c /Ox /Os /GL /GF /GS- /Wall php-cgi-spawner.c
cl /c /Ox /Os /GL /GF /GS- /W4 php-cgi-spawner.c
rc -r php-cgi-spawner.rc
link /LTCG php-cgi-spawner.obj php-cgi-spawner.res /subsystem:windows /MERGE:.rdata=.text
6 changes: 3 additions & 3 deletions src/php-cgi-spawner.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ typedef struct _PHPSPWCTX

static PHPSPWCTX ctx;

static void inline memsym( void * mem, size_t size, char sym )
static __forceinline void memsym( void * mem, size_t size, char sym )
{
while( size-- )
( (volatile char *)mem )[size] = sym;
Expand Down Expand Up @@ -82,11 +82,11 @@ static DWORD WINAPI helper_holder( HANDLE hFCGI )

static DWORD WINAPI helpers_thread( void * unused )
{
(void)unused;

struct timeval tv = { 0, 0 };
struct timeval * timeout;

(void)unused;

for( ;; )
{
DWORD dwTick = GetTickCount();
Expand Down

0 comments on commit 19759e3

Please sign in to comment.