X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2FUtil%2FMySystem.c;h=46d29f9d5a42d5825b486062f48a5f2791aa0747;hb=a52a555ba56bc5167e594206b229e2c626e0a2dd;hp=411b11ffd9e2a24c5426dbbb177c3f5d54674068;hpb=e9dd8aefd5175330f62300a43e04ab9b0c613cd6;p=fw%2Fsdcc 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