forked from mirror/go-sqlcipher
Include errno.h when build on cygwin. Closes #87
This commit is contained in:
parent
87dbce4730
commit
2a2faeaf38
|
@ -5,6 +5,10 @@ package sqlite3
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
# include <errno.h>
|
||||
#endif
|
||||
|
||||
#ifndef SQLITE_OPEN_READWRITE
|
||||
# define SQLITE_OPEN_READWRITE 0
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue