Mercurial > libavutil.hg
comparison common.h @ 10:a5445a31a24f libavutil
Define EMULATE_INTTYPES for all windows-systems, except Cygwin and MinGW
to simplify usage on Windows.
patch by Fredrik Orderud fredrik - . - orderud - @ - idi - . - ntnu - . - no
author | diego |
---|---|
date | Mon, 12 Dec 2005 00:48:42 +0000 |
parents | 2dd915c714fa |
children | b5bd7d00de0f |
comparison
equal
deleted
inserted
replaced
9:362408e1de85 | 10:a5445a31a24f |
---|---|
6 #ifndef COMMON_H | 6 #ifndef COMMON_H |
7 #define COMMON_H | 7 #define COMMON_H |
8 | 8 |
9 #if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) | 9 #if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) |
10 # define CONFIG_WIN32 | 10 # define CONFIG_WIN32 |
11 #endif | |
12 | |
13 #if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(EMULATE_INTTYPES) | |
14 # define EMULATE_INTTYPES | |
11 #endif | 15 #endif |
12 | 16 |
13 #ifndef M_PI | 17 #ifndef M_PI |
14 #define M_PI 3.14159265358979323846 | 18 #define M_PI 3.14159265358979323846 |
15 #endif | 19 #endif |