]> git.sur5r.net Git - cc65/commitdiff
Make exec() only visible if standard=cc655.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 25 Jan 2011 20:20:12 +0000 (20:20 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 25 Jan 2011 20:20:12 +0000 (20:20 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4920 b7a2c559-68d2-44c3-8de9-860c34a00d81

include/unistd.h

index 667ed0cb53434fe01ffed5aa398c318bea53f002..fb401be8945c03faa99977e31f29a2b0ef82c4cd 100644 (file)
@@ -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