Commit 20786910 authored by damienf's avatar damienf
Browse files

vlc_common.h: Cygwin & Mingw32 compatibilty update, needs review

record.c: make it compile under mingw32, needs review
parent fef83e25
...@@ -906,7 +906,7 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw ) ...@@ -906,7 +906,7 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
#endif #endif
/* Format type specifiers for 64 bits numbers */ /* Format type specifiers for 64 bits numbers */
#if !defined(WIN32) && !defined(UNDER_CE) #if defined(__MINGW32__) || defined(__CYGWIN32__) || (!defined(WIN32) && !defined(UNDER_CE))
# define I64Fd "%lld" # define I64Fd "%lld"
# define I64Fi "%lli" # define I64Fi "%lli"
# define I64Fo "%llo" # define I64Fo "%llo"
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include "vlc_keys.h" #include "vlc_keys.h"
#include <osd.h> #include <osd.h>
#include <errno.h> #include <errno.h>
#include <time.h>
/***************************************************************************** /*****************************************************************************
* Module descriptor * Module descriptor
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment