diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2011-10-16 11:31:30 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2011-10-16 11:31:30 +0200 |
commit | ff4417a0cc344eed56d5ddd42b2a4cfd69b17c43 (patch) | |
tree | 5ba2b065ac96e3113ebfcc3c2602445ad92b7a43 /src/port/sys_internal.h | |
parent | 61adb6a1ba66d0990ccc72b6a105797987c0a4f3 (diff) | |
download | sqlitexx-ff4417a0cc344eed56d5ddd42b2a4cfd69b17c43.tar.gz sqlitexx-ff4417a0cc344eed56d5ddd42b2a4cfd69b17c43.tar.bz2 |
fixed for Linux 3.0, fixed a gcc warning about an unused variable
Diffstat (limited to 'src/port/sys_internal.h')
-rw-r--r-- | src/port/sys_internal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/port/sys_internal.h b/src/port/sys_internal.h index 5b6a0b2..b846810 100644 --- a/src/port/sys_internal.h +++ b/src/port/sys_internal.h @@ -33,7 +33,16 @@ #error unknown platform #endif /* defined OS_MINOR_VERSION == 6 */ #else +#if OS_MAJOR_VERSION == 3 +#if OS_MINOR_VERSION == 0 +#define _XOPEN_SOURCE 600 +#define HAVE_STRDUP +#else + #error unknown platform +#endif /* defined OS_MINOR_VERSION == 0 */ +#else #error unknown platform +#endif /* defined OS_MAJOR_VERSION == 3 */ #endif /* defined OS_MAJOR_VERSION == 2 */ #endif /* defined LINUX */ |