From 54dc51f81c8d78b6c2e0d78f59b35ec5298d969c Mon Sep 17 00:00:00 2001 From: pancake Date: Wed, 1 Apr 2015 14:09:23 +0200 Subject: [PATCH] Update sdb to fix cygwin build issue --- shlr/sdb/README.md | 2 ++ shlr/sdb/src/cdb_make.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/shlr/sdb/README.md b/shlr/sdb/README.md index b42fd332e6..9fb77ddf7e 100644 --- a/shlr/sdb/README.md +++ b/shlr/sdb/README.md @@ -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) diff --git a/shlr/sdb/src/cdb_make.c b/shlr/sdb/src/cdb_make.c index 6f55b45569..9245539738 100644 --- a/shlr/sdb/src/cdb_make.c +++ b/shlr/sdb/src/cdb_make.c @@ -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);