summaryrefslogtreecommitdiff
path: root/devel/nqc/patches/patch-platform_PSerial__unix.cpp
blob: 47e361070e3d193edec056d7737b75e01eb6ce4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-platform_PSerial__unix.cpp,v 1.1 2017/07/05 20:23:39 wiedi Exp $

Adjust macro for all SunOS
--- platform/PSerial_unix.cpp.orig	2001-04-16 00:56:29.000000000 +0000
+++ platform/PSerial_unix.cpp
@@ -31,7 +31,7 @@
 #include <termios.h>
 
 // need another #include for Solaris - Richard Mitchell <gpsphoto@designprofessionals.com>
-#ifdef SOLARIS
+#if defined(__sun)
 #include <sys/filio.h>
 #endif