summaryrefslogtreecommitdiff
path: root/libavutil/common.h
diff options
context:
space:
mode:
authorFredrik Orderud <fredrik.orderud@idi.ntnu.no>2005-12-12 00:48:42 +0000
committerDiego Biurrun <diego@biurrun.de>2005-12-12 00:48:42 +0000
commit765c34406074b56c85966b4813383014ce8b7d0a (patch)
treed1d29d42f5b9ace81649e3051f12ecdd8abf6878 /libavutil/common.h
parent4d1ee6f9399777eadd0ebaec9281f6a39e738b29 (diff)
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 Originally committed as revision 4736 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/common.h')
-rw-r--r--libavutil/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/common.h b/libavutil/common.h
index a1c5927a22..20cabaf5b5 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -10,6 +10,10 @@
# define CONFIG_WIN32
#endif
+#if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(EMULATE_INTTYPES)
+# define EMULATE_INTTYPES
+#endif
+
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif