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
363fe691
Commit
363fe691
authored
Jul 11, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* include/vlc_common.h: Fixed I64Fd family for 64-bit processors.
parent
bc281175
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
8 deletions
+22
-8
include/vlc_common.h
include/vlc_common.h
+22
-8
No files found.
include/vlc_common.h
View file @
363fe691
...
@@ -912,12 +912,21 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
...
@@ -912,12 +912,21 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
/* Format type specifiers for 64 bits numbers */
/* Format type specifiers for 64 bits numbers */
#if defined(__CYGWIN32__) || (!defined(WIN32) && !defined(UNDER_CE))
#if defined(__CYGWIN32__) || (!defined(WIN32) && !defined(UNDER_CE))
# if defined(__WORDSIZE) && __WORDSIZE == 64
# define I64Fd "%ld"
# define I64Fi "%li"
# define I64Fo "%lo"
# define I64Fu "%lu"
# define I64Fx "%lx"
# define I64FX "%lX"
# else
# define I64Fd "%lld"
# define I64Fd "%lld"
# define I64Fi "%lli"
# define I64Fi "%lli"
# define I64Fo "%llo"
# define I64Fo "%llo"
# define I64Fu "%llu"
# define I64Fu "%llu"
# define I64Fx "%llx"
# define I64Fx "%llx"
# define I64FX "%llX"
# define I64FX "%llX"
# endif
#else
#else
# define I64Fd "%I64d"
# define I64Fd "%I64d"
# define I64Fi "%I64i"
# define I64Fi "%I64i"
...
@@ -929,8 +938,13 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
...
@@ -929,8 +938,13 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
/* 64 bits integer constant suffix */
/* 64 bits integer constant suffix */
#if defined( __MINGW32__ ) || (!defined(WIN32) && !defined(UNDER_CE))
#if defined( __MINGW32__ ) || (!defined(WIN32) && !defined(UNDER_CE))
# if defined(__WORDSIZE) && __WORDSIZE == 64
# define I64C(x) x##L
# define UI64C(x) x##UL
# else
# define I64C(x) x##LL
# define I64C(x) x##LL
# define UI64C(x) x##ULL
# define UI64C(x) x##ULL
# endif
#else
#else
# define I64C(x) x##i64
# define I64C(x) x##i64
# define UI64C(x) x##ui64
# define UI64C(x) x##ui64
...
...
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