date and time created 83/02/11 15:45:08 by rrh
[unix-history] / usr / src / usr.bin / pascal / libpc / h00vars.h
index a7afb14..6eb95a6 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 1979 Regents of the University of California */
 
 /* Copyright (c) 1979 Regents of the University of California */
 
-/* sccsid[] = "@(#)h00vars.h 1.8 %G%"; */
+/* sccsid[] = "@(#)h00vars.h 1.10 %G%"; */
 
 #include <stdio.h>
 #include "whoami.h"
 
 #include <stdio.h>
 #include "whoami.h"
 #define NAMSIZ         76
 #define MAXFILES       32
 #define PREDEF         2
 #define NAMSIZ         76
 #define MAXFILES       32
 #define PREDEF         2
-#ifdef VAX
+#ifdef ADDR32
 #define STDLVL         ((struct iorec *)(0x7ffffff1))
 #define GLVL           ((struct iorec *)(0x7ffffff0))
 #define STDLVL         ((struct iorec *)(0x7ffffff1))
 #define GLVL           ((struct iorec *)(0x7ffffff0))
-#else
+#endif ADDR32
+#ifdef ADDR16
 #define STDLVL         ((struct iorec *)(0xfff1))
 #define GLVL           ((struct iorec *)(0xfff0))
 #define STDLVL         ((struct iorec *)(0xfff1))
 #define GLVL           ((struct iorec *)(0xfff0))
-#endif VAX
+#endif ADDR16
 #define FILNIL         ((struct iorec *)(0))
 #define INPUT          ((struct iorec *)(&input))
 #define OUTPUT         ((struct iorec *)(&output))
 #define FILNIL         ((struct iorec *)(0))
 #define INPUT          ((struct iorec *)(&input))
 #define OUTPUT         ((struct iorec *)(&output))
@@ -127,3 +128,10 @@ extern long                _filefre;       /* last used entry in _actfile */
 extern struct iorechd  input;
 extern struct iorechd  output;
 extern struct iorechd  _err;
 extern struct iorechd  input;
 extern struct iorechd  output;
 extern struct iorechd  _err;
+
+/*
+ * seek pointer struct for TELL, SEEK extensions
+ */
+struct seekptr {
+       long    cnt;
+};