mirror of
https://github.com/mirror/make.git
synced 2026-08-12 12:14:30 +00:00
Add support for building with Tiny C for MS-Windows
* src/config.h.W32.template (HAVE_DIRECT_H, HAVE_STRCASECMP) (HAVE_STRNCASECMP, HAVE_UMASK): Add __TINYC__ to MinGW condition. (BATCH_MODE_ONLY_SHELL): Make this the default for Tiny C. * build_w32.bat: Support building with Tiny C's tcc compiler.
This commit is contained in:
committed by
Eli Zaretskii
parent
4533348826
commit
6ba5ea022a
@@ -102,7 +102,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
/* Define to 1 if you have the <direct.h> header file, and it defines getcwd()
|
||||
and chdir().
|
||||
*/
|
||||
#if (defined(_MSC_VER) || defined(__BORLANDC__)) && !defined(__INTERIX)
|
||||
#if (defined(_MSC_VER) || defined(__BORLANDC__) || defined(__TINYC__)) && !defined(__INTERIX)
|
||||
# define HAVE_DIRECT_H 1
|
||||
#endif
|
||||
|
||||
@@ -247,7 +247,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the 'strcasecmp' function. */
|
||||
#ifdef __MINGW32__
|
||||
#if defined(__MINGW32__) || defined(__TINYC__)
|
||||
#define HAVE_STRCASECMP 1
|
||||
#endif
|
||||
|
||||
@@ -273,7 +273,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the 'strncasecmp' function. */
|
||||
#ifdef __MINGW32__
|
||||
#if defined(__MINGW32__) || defined(__TINYC__)
|
||||
#define HAVE_STRNCASECMP 1
|
||||
#endif
|
||||
|
||||
@@ -305,7 +305,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
char *ttyname (int);
|
||||
|
||||
/* Define to 1 if you have the `umask' function. */
|
||||
#ifdef __MINGW32__
|
||||
#if defined(__MINGW32__) || defined(__TINYC__)
|
||||
# define HAVE_UMASK 1
|
||||
#endif
|
||||
|
||||
@@ -525,10 +525,14 @@ char *ttyname (int);
|
||||
|
||||
/*
|
||||
* If you have a shell that does not grok 'sh -c quoted-command-line'
|
||||
* correctly, you need this setting. Please see below for specific
|
||||
* shell support.
|
||||
* correctly, you need this setting; it is the default for tcc.
|
||||
* Please see below for specific shell support.
|
||||
*/
|
||||
#if defined(__TINYC__)
|
||||
#define BATCH_MODE_ONLY_SHELL 1
|
||||
#else
|
||||
/*#define BATCH_MODE_ONLY_SHELL 1 */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Define if you have the Cygnus "Cygwin" GNU Windows32 tool set.
|
||||
|
||||
Reference in New Issue
Block a user