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)
73
73
LDLIBS += -lsetupapi -lws2_32
74
74
SHLDLIBS = $(LDLIBS )
75
75
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
77
77
else
78
78
EXENAME ?= switchtec
79
79
INSTEXENAME ?= $(EXENAME )
Original file line number Diff line number Diff line change 113
113
#define STOP 0xFF
114
114
#define SET_XMODE_NONE 0x55
115
115
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
-
124
116
typedef unsigned long DWORD ;
125
117
typedef int BOOL ;
126
118
typedef unsigned char BYTE ;
Original file line number Diff line number Diff line change 56
56
#include <stdio.h>
57
57
#include <string.h>
58
58
#include <openssl/sha.h>
59
- #include <arpa/inet.h>
60
59
#include <iconv.h>
61
60
62
61
#include "lib/crc.h"
You can’t perform that action at this time.
0 commit comments