summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-18 09:23:40 +0200
committerNoel Grandin <noel@peralex.com>2014-09-19 08:36:52 +0200
commit04dbdcd2de85551d5ec516a2a7043950ea5f6fe6 (patch)
tree040117b0fde5e8f194ad579f649ae18dfc61ffc6
parent8fcd4b640fc041a97ed982ad1f3831cb2eade061 (diff)
rsc: remove RSX support
Change-Id: I8b4e33ef6dd0c8e3af17fc358feab655e263de0f
-rw-r--r--rsc/source/rscpp/cpp2.c2
-rw-r--r--rsc/source/rscpp/cpp3.c23
-rw-r--r--rsc/source/rscpp/cppdef.h11
3 files changed, 1 insertions, 35 deletions
diff --git a/rsc/source/rscpp/cpp2.c b/rsc/source/rscpp/cpp2.c
index 64272e3746de..689780a29bb2 100644
--- a/rsc/source/rscpp/cpp2.c
+++ b/rsc/source/rscpp/cpp2.c
@@ -488,7 +488,7 @@ hasdirectory(char* source, char* result)
}
#else
/*
- * Random DEC operating system (RSX, RT11, RSTS/E)
+ * Random DEC operating system (RT11, RSTS/E)
*/
char *tp;
diff --git a/rsc/source/rscpp/cpp3.c b/rsc/source/rscpp/cpp3.c
index c2601ae72b13..2dec260d7376 100644
--- a/rsc/source/rscpp/cpp3.c
+++ b/rsc/source/rscpp/cpp3.c
@@ -98,29 +98,6 @@ void setincdirs()
#endif
-#if HOST == SYS_RSX
- extern int $$rsts; /* TRUE on RSTS/E */
- extern int $$pos; /* TRUE on PRO-350 P/OS */
- extern int $$vms; /* TRUE on VMS compat. */
-
- if ($$pos) { /* P/OS? */
- *incend++ = "SY:[ZZDECUSC]"; /* C #includes */
- *incend++ = "LB:[1,5]"; /* RSX library */
- }
- else if ($$rsts) { /* RSTS/E? */
- *incend++ = "SY:@"; /* User-defined account */
- *incend++ = "C:"; /* Decus-C library */
- *incend++ = "LB:[1,1]"; /* RSX library */
- }
- else if ($$vms) { /* VMS compatibility? */
- *incend++ = "C:";
- }
- else { /* Plain old RSX/IAS */
- *incend++ = "LB:[1,1]";
- }
-#define MAXINCLUDE (NINCLUDE - 3 - IS_INCLUDE)
-#endif
-
#if HOST == SYS_RT11
extern int $$rsts; /* RSTS/E emulation? */
diff --git a/rsc/source/rscpp/cppdef.h b/rsc/source/rscpp/cppdef.h
index 468cec0a5d16..71ff0b8bcd8e 100644
--- a/rsc/source/rscpp/cppdef.h
+++ b/rsc/source/rscpp/cppdef.h
@@ -35,7 +35,6 @@
*/
#define SYS_UNKNOWN 0
#define SYS_UNIX 1
-#define SYS_RSX 3
#define SYS_RT11 4
#define SYS_LATTICE 5
#define SYS_ONYX 6
@@ -45,15 +44,11 @@
#ifdef unix
#define HOST SYS_UNIX
#else
-#ifdef rsx
-#define HOST SYS_RSX
-#else
#ifdef rt11
#define HOST SYS_RT11
#endif
#endif
#endif
-#endif
#ifndef HOST
#define HOST SYS_UNKNOWN
@@ -125,12 +120,6 @@
#define SYSTEM "unix"
#endif
-#if TARGET == SYS_RSX
-#define MACHINE "pdp11"
-#define SYSTEM "rsx"
-#define COMPILER "decus"
-#endif
-
#if TARGET == SYS_RT11
#define MACHINE "pdp11"
#define SYSTEM "rt11"