mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-13 19:57:53 +08:00
Add fseeko/ftello prototypes for BSD/OS only to c.h.
This commit is contained in:
parent
3675d064c9
commit
f142b09151
@ -12,7 +12,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: c.h,v 1.128 2002/10/08 23:12:22 momjian Exp $
|
||||
* $Id: c.h,v 1.129 2002/10/23 23:37:47 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -639,6 +639,11 @@ typedef NameData *Name;
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#if defined(bsdi)
|
||||
int fseeko(FILE *stream, off_t offset, int whence);
|
||||
off_t ftello(FILE *stream);
|
||||
#endif
|
||||
|
||||
/* These are for things that are one way on Unix and another on NT */
|
||||
#define NULL_DEV "/dev/null"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user