diff options
Diffstat (limited to 'stlport')
-rw-r--r-- | stlport/STLport-4.0.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/stlport/STLport-4.0.patch b/stlport/STLport-4.0.patch index 0d262b5455cf..ea21ff93105a 100644 --- a/stlport/STLport-4.0.patch +++ b/stlport/STLport-4.0.patch @@ -3321,6 +3321,23 @@ inline char* _FILE_I_next(const FILE& __f) { return (char*) __f._ptr; } inline char* _FILE_I_end(const FILE& __f) *************** +*** 92,98 **** + typedef unsigned char* _File_ptr_type; + #endif + +! inline int _FILE_fd(const FILE& __f) { return __f._file; } + inline char* _FILE_I_begin(const FILE& __f) { return (char*) __f._base; } + inline char* _FILE_I_next(const FILE& __f) { return (char*) __f._ptr; } + inline char* _FILE_I_end(const FILE& __f) +--- 92,98 ---- + typedef unsigned char* _File_ptr_type; + #endif + +! inline int _FILE_fd(const FILE& __f) { return fileno(__CONST_CAST(FILE*,&__f)); } + inline char* _FILE_I_begin(const FILE& __f) { return (char*) __f._base; } + inline char* _FILE_I_next(const FILE& __f) { return (char*) __f._ptr; } + inline char* _FILE_I_end(const FILE& __f) +*************** *** 377,382 **** --- 380,388 ---- # endif |