Subject: Re: problem with sfio &
To: None <acas@catt.citri.edu.au>
From: Mike Long <mike.long@analog.com>
List: netbsd-users
Date: 04/23/1997 20:57:57
>From: Andrew Cassin <acas@catt.citri.edu.au>
>Date: Wed, 24 Jan 1996 22:39:58 +1100 (EST)

>I was looking at sfio (a replacement for stdio) and noticed a thorny
>conflict involving the macro SF_APPEND in <sys/stat.h> and in the sfio
>distribution. This is a potentially nasty conflict since I/O based code
>is highly likely to include <sys/stat.h> either directly or indirectly, 
>even if it uses sfio.
>
>Perl is one program which is looking at sfio as a replacement for stdio.
>
>I was wondering if it would be possible:
>
>a) conditionally define all the SF_* symbols based on 
>   some flag (_POSIX_SOURCE?) 

SF_APPEND and friends are already wrapped with an
#ifndef_POSIX_SOURCE.
-- 
Mike Long <mike.long@analog.com>           http://www.shore.net/~mikel
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil