tcc support added

This commit is contained in:
Enno Rehling 2011-02-26 10:21:10 +01:00
parent 2e67e9c290
commit 4fa45d6449
4 changed files with 8 additions and 5 deletions

View File

@ -34,6 +34,7 @@
#ifndef HAVE_INLINE
#include <util/bsdstring.c>
#include <util/strings.c>
#endif
#ifdef __GNUC__

View File

@ -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 * );

View File

@ -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>

View File

@ -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)