From: uz Date: Tue, 25 Jan 2011 20:20:12 +0000 (+0000) Subject: Make exec() only visible if standard=cc655. X-Git-Tag: V2.13.3~540 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=25c13a4f545ae246e14124f23a5e5971ef1ca903;p=cc65 Make exec() only visible if standard=cc655. git-svn-id: svn://svn.cc65.org/cc65/trunk@4920 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/unistd.h b/include/unistd.h index 667ed0cb5..fb401be89 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -88,7 +88,11 @@ int __fastcall__ rmdir (const char* name); /* Others */ unsigned __fastcall__ sleep (unsigned seconds); int __fastcall__ getopt (int argc, char* const* argv, const char* optstring); + +/* Non standard: */ +#if __CC65_STD__ == __CC65_STD_CC65__ int __fastcall__ exec (const char* progname, const char* cmdline); +#endif