Skip to content

Commit

Permalink
Fix minor bugs for Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
basil00 committed Oct 24, 2017
1 parent 09859c0 commit d50d320
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Makefile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ OBJS = \
$(PLATFORM)/misc.obj \
$(PLATFORM)/resources.obj

client: CFLAGS = $(CLIENT_CFLAGS) -I$(DIVERT_ROOT)/include/
client: CFLAGS = $(CLIENT_CFLAGS) -I$(DIVERT_ROOT)/include/ -mno-ms-bitfields
client: CLIBS = -lws2_32 -lkernel32 -lWinDivert -L$(DIVERT_ROOT)/$(ARCH)/
client: $(OBJS)
$(CC) -o $(CLIENT_PROG).exe $(OBJS) -Wl,-subsystem,windows $(CLIBS)
Expand All @@ -59,9 +59,9 @@ $(PLATFORM)/resources.obj: $(PLATFORM)/resources.rc
%.obj: %.c http_data.c install_data.c
$(CC) $(CFLAGS) -o $@ -c $<

encodings/natural.obj: CFLAGS = $(CLIENT_CFLAGS) -O3
encodings/natural.obj: CFLAGS = $(CLIENT_CFLAGS) -O3 -mno-ms-bitfields
encodings/aes_hardware.obj: CFLAGS = $(CLIENT_CFLAGS) -maes -mssse3 \
-flax-vector-conversions
-flax-vector-conversions -mno-ms-bitfields

http_data.c: ui/* tools/file2c.exe
(cd ui/; ../tools/file2c.exe * > ../http_data.c)
Expand Down
2 changes: 1 addition & 1 deletion src/install/install.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

ENABLED = "true"
HIDE_TCP = "true"
HIDE_TCP_DATA = "false"
HIDE_TCP_DATA = "true"
HIDE_TCP_SYN = "set"
HIDE_TCP_ACK = "set"
HIDE_TCP_PSH = "set"
Expand Down

0 comments on commit d50d320

Please sign in to comment.