Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
4b8ce41a
Commit
4b8ce41a
authored
May 01, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We need <inttypes.h>, always
parent
9cef959f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
38 deletions
+1
-38
include/vlc_common.h
include/vlc_common.h
+1
-38
No files found.
include/vlc_common.h
View file @
4b8ce41a
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
#include <string.h>
#include <string.h>
#include <stdio.h>
#include <stdio.h>
#include <inttypes.h>
#ifdef HAVE_SYS_TYPES_H
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
# include <sys/types.h>
...
@@ -54,44 +55,6 @@
...
@@ -54,44 +55,6 @@
/*****************************************************************************
/*****************************************************************************
* Basic types definitions
* Basic types definitions
*****************************************************************************/
*****************************************************************************/
#if defined( HAVE_INTTYPES_H )
# include <inttypes.h>
#elif defined( SYS_CYGWIN )
/* Cygwin only defines half of these... */
typedef
u_int8_t
uint8_t
;
typedef
u_int16_t
uint16_t
;
typedef
u_int32_t
uint32_t
;
typedef
u_int64_t
uint64_t
;
#else
/* Fallback types (very x86-centric, sorry) */
typedef
unsigned
char
uint8_t
;
typedef
signed
char
int8_t
;
typedef
unsigned
short
uint16_t
;
typedef
signed
short
int16_t
;
typedef
unsigned
int
uint32_t
;
typedef
signed
int
int32_t
;
# if defined( _MSC_VER ) \
|| defined( UNDER_CE ) \
|| ( defined( WIN32 ) && !defined( __MINGW32__ ) )
typedef
unsigned
__int64
uint64_t
;
typedef
signed
__int64
int64_t
;
# else
typedef
unsigned
long
long
uint64_t
;
typedef
signed
long
long
int64_t
;
# endif
typedef
uint32_t
uintptr_t
;
typedef
int32_t
intptr_t
;
#endif
/* Systems that don't have stdint.h may not define INT64_MIN and
INT64_MAX */
#ifndef INT64_MIN
#define INT64_MIN (-9223372036854775807LL-1)
#endif
#ifndef INT64_MAX
#define INT64_MAX (9223372036854775807LL)
#endif
#if defined( WIN32 ) || defined( UNDER_CE )
#if defined( WIN32 ) || defined( UNDER_CE )
# include <malloc.h>
# include <malloc.h>
# ifndef PATH_MAX
# ifndef PATH_MAX
...
...
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