changeset 7421:0684cad9b204

use detected WORDSIZE instead of warning, when inttypes.h doesn't define __WORDSIZE
author arpi
date Mon, 16 Sep 2002 19:39:57 +0000
parents 78678f03c28d
children 69d6da12bc30
files postproc/rgb2rgb_template.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/postproc/rgb2rgb_template.c	Mon Sep 16 19:37:57 2002 +0000
+++ b/postproc/rgb2rgb_template.c	Mon Sep 16 19:39:57 2002 +0000
@@ -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