2011-09-09 12:05:28 +00:00
|
|
|
#ifndef UFILE_HH_INCLUDED
|
|
|
|
#define UFILE_HH_INCLUDED
|
|
|
|
|
|
|
|
#ifdef __WIN32
|
|
|
|
|
2012-01-25 16:35:00 +00:00
|
|
|
#include "zlib.h"
|
|
|
|
|
2011-09-09 12:05:28 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
FILE *gd_fopen( const char *filename, const char *mode );
|
2012-01-25 16:35:00 +00:00
|
|
|
int gd_open( const char *filename );
|
|
|
|
gzFile gd_gzopen( const char *filename );
|
2011-09-09 12:05:28 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* end extern "C" */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#else
|
|
|
|
#define gd_fopen fopen
|
2012-01-25 16:35:00 +00:00
|
|
|
#define gd_gzopen( filename ) gzopen( filename, "rb" )
|
2011-09-09 12:05:28 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // UFILE_HH
|