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
c74a885f
Commit
c74a885f
authored
Sep 19, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include: add some win32 comment
parent
01946f23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
include/vlc_common.h
include/vlc_common.h
+8
-6
No files found.
include/vlc_common.h
View file @
c74a885f
...
@@ -398,12 +398,12 @@ typedef struct meta_engine_t meta_engine_t;
...
@@ -398,12 +398,12 @@ typedef struct meta_engine_t meta_engine_t;
/* stat/lstat/fstat */
/* stat/lstat/fstat */
#ifdef WIN32
#ifdef WIN32
#include <sys/stat.h>
#
include <sys/stat.h>
# ifndef UNDER_CE
# ifndef UNDER_CE
struct
_stati64
;
struct
_stati64
;
#define stat _stati64
#
define stat _stati64
#define fstat _fstati64
#
define fstat _fstati64
#endif
#endif
/* You should otherwise use vlc_stat and vlc_lstat. */
/* You should otherwise use vlc_stat and vlc_lstat. */
...
@@ -472,8 +472,10 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
...
@@ -472,8 +472,10 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
* OS-specific headers and thread types
* OS-specific headers and thread types
*****************************************************************************/
*****************************************************************************/
#if defined( WIN32 ) || defined( UNDER_CE )
#if defined( WIN32 ) || defined( UNDER_CE )
# define WIN32_LEAN_AND_MEAN
/* WIN32_LEAN_AND_MEAN is needed to be able to include winsock2.h because else,
# include <windows.h>
* windows.h will also include winsock.h and declarations will conflict */
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
#endif
#endif
#include "vlc_mtime.h"
#include "vlc_mtime.h"
...
@@ -855,7 +857,7 @@ static inline void SetQWLE (void *p, uint64_t qw)
...
@@ -855,7 +857,7 @@ static inline void SetQWLE (void *p, uint64_t qw)
# endif
# endif
# endif
# endif
# if defined( _MSC_VER )
&& !defined( __WXMSW__ )
# if defined( _MSC_VER )
# 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
...
...
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