Fix building error by GCC 4.5.4 in AIX 5.1

GCC reported undefined mmap without _AIX macro.
This commit is contained in:
Like Ma 2015-03-03 15:07:16 +08:00
parent e1663ef003
commit a94d35c7dc
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
#include "sqlcipher.h"
#include "crypto.h"
#ifndef OMIT_MEMLOCK
#if defined(__unix__) || defined(__APPLE__)
#if defined(__unix__) || defined(__APPLE__) || defined(_AIX)
#include <sys/mman.h>
#elif defined(_WIN32)
# include <windows.h>