mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-18 20:03:47 +00:00
Update sdb to fix cygwin build issue
This commit is contained in:
parent
6eedf43dbe
commit
54dc51f81c
@ -10,6 +10,8 @@ It is distributed as a standalone binary and a library.
|
||||
There's also the sdbtypes: a vala library that implements
|
||||
several data structures on top of an sdb or a memcache instance.
|
||||
|
||||
[![Travis](https://api.travis-ci.org/radare/sdb.svg)](https://travis-ci.org/radare/sdb)
|
||||
|
||||
[![Build Status](http://ci.rada.re/buildStatus/icon?job=sdb)](http://ci.rada.re/job/sdb/)
|
||||
|
||||
[![Build Status](https://scan.coverity.com/projects/1651/badge.svg)](https://scan.coverity.com/projects/1651)
|
||||
|
@ -37,7 +37,7 @@ char *cdb_alloc(ut32 n) {
|
||||
if (!posix_memalign (&ret, ALIGNMENT, n))
|
||||
return ret;
|
||||
return NULL;
|
||||
#elif __WINDOWS__
|
||||
#elif __WINDOWS__ && !__CYGWIN__
|
||||
return _aligned_malloc (n, ALIGNMENT);
|
||||
#else
|
||||
return malloc (n);
|
||||
|
Loading…
x
Reference in New Issue
Block a user