Skip to content
Snippets Groups Projects
Commit afbfe9e2 authored by deuce's avatar deuce
Browse files

NetBSD and OpenBSD can't use the Linux/FreeBSD console ioctl to make noise

parent 4e918bc8
Branches
Tags
No related merge requests found
......@@ -157,7 +157,7 @@ void DLLCALL unix_beep(int freq, int dur)
}
#endif
#if !defined(__GNU__) && !defined(__QNX__)
#if !defined(__GNU__) && !defined(__QNX__) && !defined(__OpenBSD__) && !defined(NetBSD)
if(console_fd == -1)
console_fd = open("/dev/console", O_NOCTTY);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment