Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 1997 22:19:11 -0700 (PDT)
From:      Josef Grosch <jgrosch@superior.mooseriver.com>
To:        hackers@freebsd.org
Subject:   Porting question
Message-ID:  <199705210519.WAA08921@superior.mooseriver.com>

next in thread | raw e-mail | index | archive | help
I know this issue has been beat to death several times before BUT.....

I am porting a piece of code to FreeBSD and gcc bitches about this;

    extern char* sys_errlist[];

Now the fast way to handle this is;

    #ifndef  __FreeBSD__
    extern char* sys_errlist[];
    #endif

But this is very non-portable.  Any suggestions as the correct way to
handle this would be helpful.


Josef

-- 
Josef Grosch           | Another day closer to a |    FreeBSD 2.2.1
jgrosch@MooseRiver.com |   Micro$oft free world  | UNIX for the masses




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705210519.WAA08921>