forked from github/server
tcc support added
This commit is contained in:
parent
2e67e9c290
commit
4fa45d6449
|
@ -34,6 +34,7 @@
|
|||
|
||||
#ifndef HAVE_INLINE
|
||||
#include <util/bsdstring.c>
|
||||
#include <util/strings.c>
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
|
|
@ -26,7 +26,7 @@ extern "C" {
|
|||
void select_coordinate(struct selection * selected, int x, int y, int on);
|
||||
void run_mapper(void);
|
||||
|
||||
int force_color;
|
||||
extern int force_color;
|
||||
|
||||
struct state * state_open(void);
|
||||
void state_close(struct state * );
|
||||
|
|
|
@ -133,6 +133,12 @@ typedef struct stat stat_type;
|
|||
# define HAVE_MKDIR_WITH_PERMISSION
|
||||
#endif
|
||||
|
||||
/* TinyCC */
|
||||
#ifdef TINYCC
|
||||
# undef HAVE_INLINE
|
||||
# define INLINE_FUNCTION
|
||||
#endif
|
||||
|
||||
/* lcc-win32 */
|
||||
#ifdef __LCC__
|
||||
# include <string.h>
|
||||
|
|
|
@ -9,10 +9,6 @@
|
|||
extern int wrptr(char ** ptr, size_t * size, int bytes);
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_STRLCPY)
|
||||
# define HAVE_STRLCPY
|
||||
#endif
|
||||
|
||||
#define WARN_STATIC_BUFFER() log_warning(("static buffer too small in %s:%d\n", __FILE__, __LINE__))
|
||||
|
||||
#if !defined(HAVE_STRLPRINTF)
|
||||
|
|
Loading…
Reference in New Issue