windows: Move the compatibility header to the compat subfolder
This commit is contained in:
@@ -101,8 +101,8 @@ utils/utils.h utils/chunk.h utils/debug.h utils/enum.h utils/identification.h \
|
||||
utils/lexparser.h utils/optionsfrom.h utils/capabilities.h utils/backtrace.h \
|
||||
utils/leak_detective.h utils/printf_hook/printf_hook.h \
|
||||
utils/printf_hook/printf_hook_vstr.h utils/printf_hook/printf_hook_builtin.h \
|
||||
utils/parser_helper.h utils/test.h utils/integrity_checker.h utils/windows.h \
|
||||
utils/process.h utils/utils/strerror.h utils/compat/apple.h
|
||||
utils/parser_helper.h utils/test.h utils/integrity_checker.h utils/process.h \
|
||||
utils/utils/strerror.h utils/compat/windows.h utils/compat/apple.h
|
||||
endif
|
||||
|
||||
library.lo : $(top_builddir)/config.status
|
||||
@@ -133,7 +133,7 @@ if USE_WINDOWS
|
||||
threading/windows/rwlock.c \
|
||||
threading/windows/spinlock.c \
|
||||
threading/windows/semaphore.c \
|
||||
utils/windows.c
|
||||
utils/compat/windows.c
|
||||
else
|
||||
libstrongswan_la_LIBADD += $(PTHREADLIB)
|
||||
endif
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
/* WSAPoll() */
|
||||
#define _WIN32_WINNT 0x0600
|
||||
|
||||
#include "utils.h"
|
||||
#include <utils/utils.h>
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
/**
|
||||
* @defgroup windows windows
|
||||
* @{ @ingroup utils
|
||||
* @{ @ingroup compat
|
||||
*/
|
||||
|
||||
#ifndef WINDOWS_H_
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#ifdef WIN32
|
||||
# include "windows.h"
|
||||
# include "compat/windows.h"
|
||||
#else
|
||||
# define _GNU_SOURCE
|
||||
# include <arpa/inet.h>
|
||||
|
||||
Reference in New Issue
Block a user