Re: Non-linux systems need getopt.h



Dan Newcombe wrote:
> HPUX has a getopt, but it is in <unistd.h> so I've just been
> removing the <getopt.h> include line.
> 
> It gets it compiled!

	Well, IRIX does have a getopt(), too, and even a getopt.h... just no
getopt_long() and hence no 'struct option'... which didn't seem to be a
problem until recently (I'm not sure what changed).

-spc

-- 
 /-                Sean Cier <scier@PostHorizon.com>                -\
(                Dreams of falling, dreams of flying;                 )
(               a man who never dreams goes slowly mad                )
 \-                http://www.PostHorizon.com/scier                 -/



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