From 404e05db0773d1b7f50bf2fc1403d71328aa50e0 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 9 Nov 2011 18:22:21 +0100 Subject: adapted for Linux 3.1 --- include/wolf/port/sys.h | 2 +- src/port/sys_internal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wolf/port/sys.h b/include/wolf/port/sys.h index c8f110a..ae82af8 100644 --- a/include/wolf/port/sys.h +++ b/include/wolf/port/sys.h @@ -53,7 +53,7 @@ #endif /* defined OS_MINOR_VERSION == 6 */ #else #if OS_MAJOR_VERSION == 3 -#if OS_MINOR_VERSION == 0 +#if OS_MINOR_VERSION >= 0 && OS_MINOR_VERSION <= 1 #define _XOPEN_SOURCE 600 #define HAVE_STDBOOL_H #define HAVE_STDINT_H diff --git a/src/port/sys_internal.h b/src/port/sys_internal.h index fb2ab99..82d3d7d 100644 --- a/src/port/sys_internal.h +++ b/src/port/sys_internal.h @@ -38,7 +38,7 @@ #endif /* defined OS_MINOR_VERSION == 6 */ #else #if OS_MAJOR_VERSION == 3 -#if OS_MINOR_VERSION == 0 +#if OS_MINOR_VERSION >= 0 && OS_MINOR_VERSION <= 1 #define HAVE_LOCK_F #define HAVE_LOCALTIME_R #define HAVE_DLFCN -- cgit v1.2.3-54-g00ecf