mirror of
https://github.com/jenshemprich/MacGLide.git
synced 2025-01-15 10:33:15 +00:00
17 lines
323 B
C
17 lines
323 B
C
/* libzip mac specific */
|
|
|
|
#include <stdio.h>
|
|
|
|
int fseeko(FILE *stream, off_t offset, int whence)
|
|
{
|
|
return fseek(stream, offset, whence);
|
|
}
|
|
|
|
int mkstemp(char*)
|
|
{
|
|
/* Rough simulation of mkstemp */
|
|
FILE* stream = tmpfile();
|
|
return fileno(stream);
|
|
/* Note that the FILE tmpfile is closed automaticaaly upon prg exit */
|
|
}
|