Dont require special build flags for just one header

This commit is contained in:
Hamish Coleman 2023-07-02 16:56:41 +01:00
parent e79616dc8b
commit b22c57a16f
2 changed files with 2 additions and 3 deletions

View File

@ -153,7 +153,6 @@ LDLIBS+=-ln2n
LDLIBS+=$(LDLIBS_EXTRA)
ifeq ($(CONFIG_TARGET),mingw)
CFLAGS+=-I. -I./win32
LDLIBS+=$(abspath win32/n2n_win32.a)
LDLIBS+=-lnetapi32 -lws2_32 -liphlpapi
N2N_DEPS+=win32/n2n_win32.a

View File

@ -52,8 +52,8 @@ typedef int ssize_t;
typedef unsigned long in_addr_t;
#include "n2n_win32.h"
// FIXME - the above include is from a different subdir
#include "../win32/n2n_win32.h"
// FIXME - continue untangling the build and includes - dont have a ".." here
#endif /* #if defined(_MSC_VER) || defined(__MINGW32__) */