Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
27de7cdb
Commit
27de7cdb
authored
Sep 22, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* include/vlc_common.h: why on earth was off_t not typedefed to int64 anymore under _MSC_VER ?
parent
79654985
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
include/vlc_common.h
include/vlc_common.h
+5
-7
No files found.
include/vlc_common.h
View file @
27de7cdb
...
@@ -994,8 +994,8 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
...
@@ -994,8 +994,8 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
/* several type definitions */
/* several type definitions */
# if defined( __MINGW32__ )
# if defined( __MINGW32__ )
# if !defined( _OFF_T_ )
# if !defined( _OFF_T_ )
typedef
long
long
_off_t
;
typedef
long
long
_off_t
;
typedef
_off_t
off_t
;
typedef
_off_t
off_t
;
# define _OFF_T_
# define _OFF_T_
# else
# else
# ifdef off_t
# ifdef off_t
...
@@ -1005,17 +1005,15 @@ typedef _off_t off_t;
...
@@ -1005,17 +1005,15 @@ typedef _off_t off_t;
# endif
# endif
# endif
# endif
/*
# if defined( _MSC_VER ) && !defined( __WXMSW__ )
# if (defined( _MSC_VER ) && (!defined(__WXMSW__)))
# if !defined( _OFF_T_DEFINED )
# if !defined( _OFF_T_DEFINED )
typedef __int64 off_t;
typedef
__int64
off_t
;
# define _OFF_T_DEFINED
# define _OFF_T_DEFINED
# else
# else
/* for wx compatibility typedef long off_t; */
# define off_t __int64
# define off_t __int64
// for wx compatibility typedef long off_t;
# endif
# endif
# endif
# endif
*/
# if defined( __BORLANDC__ )
# if defined( __BORLANDC__ )
# undef off_t
# undef off_t
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment