8000 Fix building error by GCC 4.5.4 in AIX 5.1 · githubzhaoliang/sqlcipher@a94d35c · GitHub
[go: up one dir, main page]

Skip to content

Commit a94d35c

Browse files
committed
Fix building error by GCC 4.5.4 in AIX 5.1
GCC reported undefined mmap without _AIX macro.
1 parent e1663ef commit a94d35c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto_impl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#include "sqlcipher.h"
3737
#include "crypto.h"
3838
#ifndef OMIT_MEMLOCK
39-
#if defined(__unix__) || defined(__APPLE__)
39+
#if defined(__unix__) || defined(__APPLE__) || defined(_AIX)
4040
#include <sys/mman.h>
4141
#elif defined(_WIN32)
4242
# include <windows.h>

0 commit comments

Comments
 (0)
0