git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@453
4a8a32a2-be11-0410-ad9d-
d568d2c75423
#include "asm.h"
#include <time.h>
+#ifndef __BORLANDC__
// This is a bit messy because we define link ourself
#define link NoLiNk
#include <unistd.h>
#undef link
+#else
+// No unistd.h in Borland C++
+#endif
symbol *interrupts[256];
/* declaration of exported variables */
/*-----------------------------------------------------------------*/
extern char *filename;
-int lineno;
+extern int lineno;
#endif
#endif
// This is a bit messy because we define link ourself
+#ifndef __BORLANDC__
#define link NoLiNk
#include <unistd.h>
#undef link
+#else
+// No unistd.h in Borland C++
+extern int access(const char *, int);
+#define X_OK 1
+#endif
//REMOVE ME!!!
extern int yyparse();