projects
/
hls.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6428e03
)
Fix MINGW32 build (no capture)
author
volpol
<volpol@packet-gain.de>
Thu, 20 Aug 2020 09:40:05 +0000
(11:40 +0200)
committer
volpol
<volpol@packet-gain.de>
Wed, 9 Sep 2020 18:24:03 +0000
(20:24 +0200)
Makefile.win32
patch
|
blob
|
history
config.h
patch
|
blob
|
history
diff --git
a/Makefile.win32
b/Makefile.win32
index dfcb00604ffc270e7f6c7edfb539e777e3bfd198..1d495b19950f07376813ddf20668a48aac05dda7 100644
(file)
--- a/
Makefile.win32
+++ b/
Makefile.win32
@@
-2,7
+2,7
@@
CROSS=i686-w64-mingw32-
CC=$(CROSS)gcc
STRIP=$(CROSS)strip
-CFLAGS=-Iwin32/include
-DUSE_CAPTURE
+CFLAGS=-Iwin32/include
LDFLAGS=-Lwin32/lib -lcurldll -lz -lws2_32
TARGET=hls.exe
diff --git
a/config.h
b/config.h
index 219402a3c8b867ae381c1b81b9eb661e8a8932b0..11ccb4d2960f0cbd5c524470446a8720f7d142b4 100644
(file)
--- a/
config.h
+++ b/
config.h
@@
-1,4
+1,9
@@
#define USE_TCP
-//#define USE_MEMFILE
-#define DEBUG
-//#define USE_TC7200_WORKAROUND
+#define USE_MEMFILE
+#define USE_CAPTURE
+
+#if defined (__WIN32__)
+ #define SIGNAL_CAPTURE (0)
+#else
+ #define SIGNAL_CAPTURE SIGUSR1
+#endif