File tree Expand file tree Collapse file tree 3 files changed +1
-10
lines changed
Expand file tree Collapse file tree 3 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ ifeq ($(MINGW), YES)
7373 LDLIBS += -lsetupapi -lws2_32
7474 SHLDLIBS = $(LDLIBS )
7575 override CPPFLAGS += -DNTDDI_VERSION=NTDDI_VISTA -D_WIN32_WINNT=_WIN32_WINNT_VISTA
76- override CFLAGS += -D__USE_MINGW_ANSI_STDIO
76+ override CFLAGS += -D__USE_MINGW_ANSI_STDIO -DNCURSES_STATIC
7777else
7878 EXENAME ?= switchtec
7979 INSTEXENAME ?= $(EXENAME )
Original file line number Diff line number Diff line change 113113#define STOP 0xFF
114114#define SET_XMODE_NONE 0x55
115115
116- typedef unsigned long DWORD_PTR , * PDWORD_PTR ;
117-
118- #define LOBYTE (w ) ((BYTE)(((DWORD_PTR)(w)) & 0xff))
119- #define HIBYTE (w ) ((BYTE)((((DWORD_PTR)(w)) >> 8) & 0xff))
120- #define LOWORD (l ) ((WORD)(((DWORD_PTR)(l)) & 0xffff))
121- #define HIWORD (l ) ((WORD)((((DWORD_PTR)(l)) >> 16) & 0xffff))
122-
123-
124116typedef unsigned long DWORD ;
125117typedef int BOOL ;
126118typedef unsigned char BYTE ;
Original file line number Diff line number Diff line change 5656#include <stdio.h>
5757#include <string.h>
5858#include <openssl/sha.h>
59- #include <arpa/inet.h>
6059#include <iconv.h>
6160
6261#include "lib/crc.h"
You can’t perform that action at this time.
0 commit comments