mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-20 04:09:41 +00:00
Bump capstone and sdb to fix some w32-related issues
This commit is contained in:
parent
5987085269
commit
52741016d8
@ -27,7 +27,7 @@ extern "C" {
|
||||
#define SDB_MIN_KEY 1
|
||||
#define SDB_MAX_KEY 0xff
|
||||
|
||||
#if __WINDOWS__
|
||||
#if __WINDOWS__ && !__CYGWIN__
|
||||
#define SDB_MODE 0
|
||||
#else
|
||||
#define SDB_MODE 0644
|
||||
|
@ -4,8 +4,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
#undef eprintf
|
||||
#define eprintf(x,y...) fprintf(stderr,x,##y)
|
||||
@ -42,6 +40,8 @@
|
||||
#define DIRSEP '/'
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#ifndef UNUSED
|
||||
#ifdef __GNUC__
|
||||
#define UNUSED __attribute__((__unused__))
|
||||
|
@ -6,9 +6,9 @@ CS_VER=3.0
|
||||
CS_TAR=http://capstone-engine.org/download/$(CS_VER)/capstone-$(CS_VER).tgz
|
||||
CS_TAR=
|
||||
CS_URL=https://www.github.com/aquynh/capstone.git
|
||||
CS_UPD=20150402
|
||||
CS_UPD=20150403
|
||||
CS_BRA=next
|
||||
CS_TIP=58eb07355eda9329a04969f1541b2077c5037805
|
||||
CS_TIP=b023ffe077f323b28bbfa84b552502a0ba15fbe5
|
||||
|
||||
.PHONY: capstone-sync capstone-build all clean mrproper libgdbr libwind
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
#include "sdb.h"
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
|
||||
// TODO: Add 'a' format for array of pointers null terminated??
|
||||
// XXX SLOW CONCAT
|
||||
|
@ -1,13 +1,10 @@
|
||||
/* sdb - LGPLv3 - Copyright 2012-2014 - pancake */
|
||||
/* sdb - LGPLv3 - Copyright 2012-2015 - pancake */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include "sdb.h"
|
||||
#if WINDOWS
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
SDB_API const char *sdb_lock_file(const char *f) {
|
||||
static char buf[128];
|
||||
|
@ -27,7 +27,7 @@ extern "C" {
|
||||
#define SDB_MIN_KEY 1
|
||||
#define SDB_MAX_KEY 0xff
|
||||
|
||||
#if __WINDOWS__
|
||||
#if __WINDOWS__ && !__CYGWIN__
|
||||
#define SDB_MODE 0
|
||||
#else
|
||||
#define SDB_MODE 0644
|
||||
|
@ -4,8 +4,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
#undef eprintf
|
||||
#define eprintf(x,y...) fprintf(stderr,x,##y)
|
||||
@ -42,6 +40,8 @@
|
||||
#define DIRSEP '/'
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#ifndef UNUSED
|
||||
#ifdef __GNUC__
|
||||
#define UNUSED __attribute__((__unused__))
|
||||
|
Loading…
Reference in New Issue
Block a user