From 4fe6328e4315e610d80689fb214d406f9aa63013 Mon Sep 17 00:00:00 2001 From: cebix <> Date: Tue, 19 Oct 1999 20:13:57 +0000 Subject: [PATCH] - fixed compilation problem --- BasiliskII/src/Unix/serial_unix.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BasiliskII/src/Unix/serial_unix.cpp b/BasiliskII/src/Unix/serial_unix.cpp index f8026e38..3290bb92 100644 --- a/BasiliskII/src/Unix/serial_unix.cpp +++ b/BasiliskII/src/Unix/serial_unix.cpp @@ -177,7 +177,7 @@ int16 XSERDPort::open(uint16 config) quitting = false; // Open port - fd = open(device_name, O_RDWR); + fd = ::open(device_name, O_RDWR); if (fd < 0) goto open_error; @@ -238,7 +238,7 @@ open_error: output_thread_active = false; } if (fd > 0) { - close(fd); + ::close(fd); fd = -1; } return openErr; @@ -513,7 +513,7 @@ int16 XSERDPort::close() // Close port if (fd > 0) - close(fd); + ::close(fd); fd = -1; return noErr; }