ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/gclib/GBase.h
(Generate patch)
# Line 28 | Line 28
28    #ifndef popen
29     #define popen _popen
30    #endif
31 <  #ifdef _fseeki64
32 <    #define fseeko(stream, offset, origin) _fseeki64(stream, offset, origin)
33 <  #else
34 <    /*
35 <    #define _DEFINE_WIN32_FSEEKO
36 <    int fseeko(FILE *stream, off_t offset, int whence);
37 <    */
38 <    #define fseeko fseek
31 >  #ifndef fseeko
32 >                #ifdef _fseeki64
33 >                        #define fseeko(stream, offset, origin) _fseeki64(stream, offset, origin)
34 >                #else
35 >                        /*
36 >                        #define _DEFINE_WIN32_FSEEKO
37 >                        int fseeko(FILE *stream, off_t offset, int whence);
38 >                        */
39 >                        #define fseeko fseek
40 >                #endif
41    #endif
42 + #ifndef ftello
43    #ifdef _ftelli64
44      #define ftello(stream) _ftelli64(stream)
45    #else
# Line 46 | Line 49
49      */
50      #define ftello ftell
51    #endif
52 + #endif
53   #else
54    #define CHPATHSEP '/'
55    #include <unistd.h>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines