diff options
Diffstat (limited to 'kstars/kstars/indi/webcam/port.h')
-rw-r--r-- | kstars/kstars/indi/webcam/port.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kstars/kstars/indi/webcam/port.h b/kstars/kstars/indi/webcam/port.h index c5896858..2e398019 100644 --- a/kstars/kstars/indi/webcam/port.h +++ b/kstars/kstars/indi/webcam/port.h @@ -20,9 +20,9 @@ // I/O ports wrapper definitions and prototypes // This file might need tweaking if you're trying to port my code to other // x86 Unix platforms. Code is already available for Linux, FreeBSD, and -// QNX; see the Makefile. +// TQNX; see the Makefile. // -// QNX code by: Anders Arpteg <aa11ac@hik.se> +// TQNX code by: Anders Arpteg <aa11ac@hik.se> // FreeBSD code by: Patrick Reynolds <reynolds@cs.duke.edu> and Charles // Henrich <henrich@msu.edu> // Inlining implemented by: Philip Blundell <philip.blundell@pobox.com> @@ -38,7 +38,7 @@ #if !defined(arm) && !defined(__hppa__) && !defined(__sparc__) && !defined(__ppc__) && !defined(__powerpc__) && !defined(__s390__) && !defined(__s390x__) && !defined(__mips__) && !defined(__mc68000__) #include <sys/io.h> #endif /* !arm */ -#elif defined(QNX) +#elif defined(TQNX) #include <conio.h> #elif defined(__FreeBSD__) #include <machine/cpufunc.h> @@ -90,7 +90,7 @@ public: inline void write_control(int data) { outb(control_reg = data, port2); } inline void setbit_control(int data) { outb(control_reg |= data, port2); } inline void clearbit_control(int data) { outb(control_reg &= ~data, port2); } -#else // Solaris, QNX, and *BSD use (port, data) instead +#else // Solaris, TQNX, and *BSD use (port, data) instead inline void write_data(int data) { outb(port, data); } inline void write_control(int data) { outb(port2, control_reg = data); } inline void setbit_control(int data) { outb(port2, control_reg |= data); } |