From c2bd86ca9644734ad87b560757251e26fde666b7 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 22 Jan 2016 13:46:39 +0000 Subject: [PATCH] Fix atari mint duktape build --- javascript/duktape/duk_config.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/javascript/duktape/duk_config.h b/javascript/duktape/duk_config.h index 64c10ea79..18cd9409c 100644 --- a/javascript/duktape/duk_config.h +++ b/javascript/duktape/duk_config.h @@ -95,6 +95,11 @@ #define DUK_F_BSD #endif +/* Atari Mint */ +#if defined(__MINT__) +#define DUK_F_MINT +#endif + /* Atari ST TOS. __TOS__ defined by PureC. No platform define in VBCC * apparently, so to use with VBCC user must define __TOS__ manually. */ @@ -2091,6 +2096,8 @@ typedef FILE duk_file; /* uclibc may be missing these */ #elif defined(DUK_F_AMIGAOS) && defined(DUK_F_VBCC) /* vbcc + AmigaOS may be missing these */ +#elif defined(DUK_F_MINT) +/* mint clib is missing these*/ #elif !defined(DUK_F_C99) && !defined(DUK_F_CPP11) /* build is not C99 or C++11, play it safe */ #else