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/lexparser.h utils/optionsfrom.h utils/capabilities.h utils/backtrace.h \
|
||||||
utils/leak_detective.h utils/printf_hook/printf_hook.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/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/parser_helper.h utils/test.h utils/integrity_checker.h utils/process.h \
|
||||||
utils/process.h utils/utils/strerror.h utils/compat/apple.h
|
utils/utils/strerror.h utils/compat/windows.h utils/compat/apple.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
library.lo : $(top_builddir)/config.status
|
library.lo : $(top_builddir)/config.status
|
||||||
@@ -133,7 +133,7 @@ if USE_WINDOWS
|
|||||||
threading/windows/rwlock.c \
|
threading/windows/rwlock.c \
|
||||||
threading/windows/spinlock.c \
|
threading/windows/spinlock.c \
|
||||||
threading/windows/semaphore.c \
|
threading/windows/semaphore.c \
|
||||||
utils/windows.c
|
utils/compat/windows.c
|
||||||
else
|
else
|
||||||
libstrongswan_la_LIBADD += $(PTHREADLIB)
|
libstrongswan_la_LIBADD += $(PTHREADLIB)
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
/* WSAPoll() */
|
/* WSAPoll() */
|
||||||
#define _WIN32_WINNT 0x0600
|
#define _WIN32_WINNT 0x0600
|
||||||
|
|
||||||
#include "utils.h"
|
#include <utils/utils.h>
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup windows windows
|
* @defgroup windows windows
|
||||||
* @{ @ingroup utils
|
* @{ @ingroup compat
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef WINDOWS_H_
|
#ifndef WINDOWS_H_
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
# include "windows.h"
|
# include "compat/windows.h"
|
||||||
#else
|
#else
|
||||||
# define _GNU_SOURCE
|
# define _GNU_SOURCE
|
||||||
# include <arpa/inet.h>
|
# include <arpa/inet.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user