aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArpi <arpi@thot.banki.hu>2002-09-16 19:39:57 +0000
committerArpi <arpi@thot.banki.hu>2002-09-16 19:39:57 +0000
commitff78c596396f6fa2b1633f84faf486e5c1062047 (patch)
treef19442541ae4b08efb1faaa53964ca072f4666b6
parent29700fa656853a084d896a9b4f9e8c769ed2498e (diff)
downloadffmpeg-ff78c596396f6fa2b1633f84faf486e5c1062047.tar.gz
use detected WORDSIZE instead of warning, when inttypes.h doesn't define __WORDSIZE
Originally committed as revision 7422 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
-rw-r--r--postproc/rgb2rgb_template.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/postproc/rgb2rgb_template.c b/postproc/rgb2rgb_template.c
index 7fcb7b5333..44e764e66d 100644
--- a/postproc/rgb2rgb_template.c
+++ b/postproc/rgb2rgb_template.c
@@ -12,7 +12,8 @@
#include <inttypes.h> /* for __WORDSIZE */
#ifndef __WORDSIZE
-#warning You have misconfigured system and probably will lose performance!
+// #warning You have misconfigured system and probably will lose performance!
+#define __WORDSIZE MP_WORDSIZE
#endif
#undef PREFETCH