[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CRTS_IFLOW on Linux, Solaris,...

From: Andreas Hoeschler
Subject: CRTS_IFLOW on Linux, Solaris,...
Date: Thu, 13 May 2004 17:31:53 +0200

Hi all,

this is not really GNustep related, but since I expect many of you guys to be familiar with a bunch of different operating systems I guess one might have a clue.

I am trying to compile an Objective-C class FBSerialPort on Mac, SuSE Linux and Solaris. The class references a bunch of related constants that should be defined in <termios.h>. On MacOSX all is well, on Solaris it does not find CDTR_IFLOW, CDTR_IFLOW, CCAR_OFLOW. On Linux it additionally does not find CRTS_IFLOW and CRTS_IFLOW.

What's the best way to get the code to compile on all three platforms. I am using

#ifdef __APPLE__

to distinguish between Apple and GNUstep, but now it seems I also have to distinguish between GNUstep/SuSE, GNUstep/Solaris,... What definitions could be used for this? Is the #include <termios.h> approach wrong for what I want to do?

Thanks a lot!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]