use detected WORDSIZE instead of warning, when inttypes.h doesn't define __WORDSIZE
authorArpi <arpi@thot.banki.hu>
Mon, 16 Sep 2002 19:39:57 +0000 (19:39 +0000)
committerArpi <arpi@thot.banki.hu>
Mon, 16 Sep 2002 19:39:57 +0000 (19:39 +0000)
Originally committed as revision 7422 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

postproc/rgb2rgb_template.c

index 7fcb7b533395768c1e22715a0639cb3a71368ab7..44e764e66de2ae3982da6cfa5ad41b28edf00a45 100644 (file)
@@ -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