projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
warning cleanup
[fw/sdcc]
/
support
/
Util
/
MySystem.c
diff --git
a/support/Util/MySystem.c
b/support/Util/MySystem.c
index 411b11ffd9e2a24c5426dbbb177c3f5d54674068..46d29f9d5a42d5825b486062f48a5f2791aa0747 100644
(file)
--- a/
support/Util/MySystem.c
+++ b/
support/Util/MySystem.c
@@
-30,7
+30,14
@@
#include <sys/stat.h>
#endif
+
+#if !defined(__BORLANDC__) && !defined(_MSC_VER)
+#include <unistd.h>
+#else
+// No unistd.h in Borland C++
+extern int access (const char *, int);
#define X_OK 1
+#endif
/*!
Call an external program with arguements