From: kvigor Date: Mon, 25 Jun 2001 19:09:58 +0000 (+0000) Subject: warning cleanup X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=a52a555ba56bc5167e594206b229e2c626e0a2dd;hp=e9dd8aefd5175330f62300a43e04ab9b0c613cd6;p=fw%2Fsdcc warning cleanup git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@945 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/support/Util/MySystem.c b/support/Util/MySystem.c index 411b11ff..46d29f9d 100644 --- a/support/Util/MySystem.c +++ b/support/Util/MySystem.c @@ -30,7 +30,14 @@ #include #endif + +#if !defined(__BORLANDC__) && !defined(_MSC_VER) +#include +#else +// No unistd.h in Borland C++ +extern int access (const char *, int); #define X_OK 1 +#endif /*! Call an external program with arguements