Update cbif.c
fix a bug when compiling IOR in MacOS will cause error "Undefined symbols for _lseek64 and _open64"master
parent
3aa1f4c9b7
commit
9c4bf51d82
|
@ -36,6 +36,14 @@
|
||||||
|
|
||||||
#define BYTE_BOUNDARY 8
|
#define BYTE_BOUNDARY 8
|
||||||
|
|
||||||
|
#ifndef open64 /* necessary for TRU64 -- */
|
||||||
|
# define open64 open /* unlikely, but may pose */
|
||||||
|
#endif /* not open64 */ /* conflicting prototypes */
|
||||||
|
|
||||||
|
#ifndef lseek64 /* necessary for TRU64 -- */
|
||||||
|
# define lseek64 lseek /* unlikely, but may pose */
|
||||||
|
#endif /* not lseek64 */ /* conflicting prototypes */
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue