Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
339de4e8
Commit
339de4e8
authored
Nov 08, 2001
by
Jon Lech Johansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed a mingw32 problem I introduced last night :)
parent
eb1815f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
include/common.h
include/common.h
+17
-2
No files found.
include/common.h
View file @
339de4e8
...
...
@@ -3,7 +3,7 @@
* Collection of useful common types and macros definitions
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: common.h,v 1.4
6 2001/11/08 01:48:09
jlj Exp $
* $Id: common.h,v 1.4
7 2001/11/08 21:07:24
jlj Exp $
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr>
...
...
@@ -232,7 +232,22 @@ struct pgrm_descriptor_s;
#endif
#if defined( WIN32 )
# define off_t __int64
# if defined( __MINGW32__ )
# if !defined( _OFF_T_ )
typedef
long
long
_off_t
;
typedef
_off_t
off_t
;
# define _OFF_T_
# else
# define off_t long long
# endif
# elif defined( _MSC_VER )
# if !defined( _OFF_T_DEFINED )
typedef
__int64
off_t
;
# define _OFF_T_DEFINED
# else
# define off_t __int64
# endif
# endif
# define stat _stati64
# ifndef snprintf
# define snprintf _snprintf
/* snprintf not defined in mingw32 (bug?) */
...
...
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