Skip to content

Commit

Permalink
Minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanem committed Jan 17, 2025
1 parent f23f21c commit 9d796f8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ build_script:
- cmd: cd src
- cmd: set USE_LUAJIT=1
- cmd: set PLATFORM=%CPU%

- cmd: nmake -nologo -f Makefile.vc6

test_script:
Expand Down
1 change: 1 addition & 0 deletions src/Geo-IP/IPFire/src/libloc/libloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#define LIBLOC_H

#if defined(_WIN32)
#include <stdlib.h>
#include <sys/types.h>
#include <winsock2.h>
#include <ws2tcpip.h>
Expand Down
2 changes: 1 addition & 1 deletion src/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@ static void set_colour (int col)

if (use_SGR == -1 && use_wincon == -1) /* Do this once */
{
use_SGR = on_appveyor ? 1: 0;
use_SGR = on_appveyor ? 1 : 0;
c_hnd = GetStdHandle (STD_OUTPUT_HANDLE);
if (c_hnd != INVALID_HANDLE_VALUE && GetConsoleScreenBufferInfo(c_hnd, &c_info))
use_wincon = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/wsock_trace_lua.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ static const char *get_func_sig (void)

strcpy (buf, wslua_func_sig);

#if !(defined(_MSC_VER) && defined(__FUNCSIG__))
#if !defined(__FUNCSIG__)
strcat (buf, "()");
#endif
return (buf);
Expand Down
2 changes: 1 addition & 1 deletion src/wsock_trace_lua.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
extern int wslua_WSAStartup (WORD ver, WSADATA *data);
extern int wslua_WSACleanup (void);

#if defined(_MSC_VER) && defined(__FUNCSIG__)
#if defined(__FUNCSIG__)
/*
* MSVC supports '__FUNCSIG__' and includes full list of arguments.
* E.g. in 'void foo(int bar)', __FUNCSIG__' gives "void foo(int bar)".
Expand Down

0 comments on commit 9d796f8

Please sign in to comment.