mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 12:40:01 +00:00
Remove old MSVC remnants.
Originally committed as revision 5709 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8a85f46d2b
commit
4bbefe6b5e
@ -6,14 +6,6 @@
|
|||||||
#ifndef COMMON_H
|
#ifndef COMMON_H
|
||||||
#define COMMON_H
|
#define COMMON_H
|
||||||
|
|
||||||
#if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__)
|
|
||||||
# define CONFIG_WIN32
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(EMULATE_INTTYPES)
|
|
||||||
# define EMULATE_INTTYPES
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef M_PI
|
#ifndef M_PI
|
||||||
#define M_PI 3.14159265358979323846
|
#define M_PI 3.14159265358979323846
|
||||||
#endif
|
#endif
|
||||||
@ -292,19 +284,12 @@ typedef uint64_t uint_fast64_t;
|
|||||||
# include <assert.h>
|
# include <assert.h>
|
||||||
|
|
||||||
/* dprintf macros */
|
/* dprintf macros */
|
||||||
# if defined(CONFIG_WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__)
|
|
||||||
|
|
||||||
inline void dprintf(const char* fmt,...) {}
|
|
||||||
|
|
||||||
# else
|
|
||||||
|
|
||||||
# ifdef DEBUG
|
# ifdef DEBUG
|
||||||
# define dprintf(fmt,...) av_log(NULL, AV_LOG_DEBUG, fmt, __VA_ARGS__)
|
# define dprintf(fmt,...) av_log(NULL, AV_LOG_DEBUG, fmt, __VA_ARGS__)
|
||||||
# else
|
# else
|
||||||
# define dprintf(fmt,...)
|
# define dprintf(fmt,...)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# endif /* !CONFIG_WIN32 */
|
|
||||||
# ifdef CONFIG_WINCE
|
# ifdef CONFIG_WINCE
|
||||||
# define abort()
|
# define abort()
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user