mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-17 12:48:41 +00:00
More standard C and TCC fixes
This commit is contained in:
parent
811c493045
commit
82eed6f2a5
@ -125,7 +125,7 @@ typedef struct {
|
||||
|
||||
#define def_field(name, size) \
|
||||
unsigned int bf_##name##_valid:1; \
|
||||
unsigned int bf_##name##_value:size;
|
||||
unsigned int bf_##name##_value:size
|
||||
|
||||
struct {
|
||||
def_field (E, 1);
|
||||
@ -198,8 +198,8 @@ typedef struct {
|
||||
|
||||
// qualifiers
|
||||
|
||||
def_field (q_lr, 1)
|
||||
def_field (q_cr, 1)
|
||||
def_field (q_lr, 1);
|
||||
def_field (q_cr, 1);
|
||||
} f;
|
||||
|
||||
RHashTable * map;
|
||||
|
@ -115,7 +115,14 @@
|
||||
# ifdef __GNUC__
|
||||
# define alloca __builtin_alloca
|
||||
# else
|
||||
# ifdef __TINYC__
|
||||
#define alloca(x) _alloca_tcc(x)
|
||||
|
||||
extern void * _alloca_tcc(unsigned x);
|
||||
extern void * __bound__alloca_tcc(unsigned x);
|
||||
# else
|
||||
extern char *alloca ();
|
||||
# endif /* __TINYC__ */
|
||||
# endif /* __GNUC__ */
|
||||
# endif /* alloca */
|
||||
#endif /* HAVE_ALLOCA_H */
|
||||
|
@ -28,7 +28,7 @@ CFLAGS+=-I../../libr/include
|
||||
LDFLAGS+=-L../../libr/util
|
||||
OBJS=code.o class.o ops.o dsojson.o
|
||||
|
||||
all: out libr_java.a
|
||||
all: libr_java.a
|
||||
|
||||
libr_java.a: ${OBJS}
|
||||
rm -f libr_java.a
|
||||
|
Loading…
x
Reference in New Issue
Block a user