aboutsummaryrefslogtreecommitdiffhomepage
path: root/postproc
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-16 19:39:57 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-16 19:39:57 +0000
commitd1b505683a5cbc1eec74e77fd9f73d35e9fe932b (patch)
tree3427c89fed8b9f98c019a9ef1bbccc2cd0f1cc34 /postproc
parentc9ffe1f35630b15d1d54cfda3e5bb188b383583c (diff)
use detected WORDSIZE instead of warning, when inttypes.h doesn't define __WORDSIZE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7422 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to '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