summaryrefslogtreecommitdiff
path: root/postproc/rgb2rgb_template.c
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 /postproc/rgb2rgb_template.c
parent29700fa656853a084d896a9b4f9e8c769ed2498e (diff)
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
Diffstat (limited to 'postproc/rgb2rgb_template.c')
-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