summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-04 10:16:48 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-04 10:16:48 +0000
commit526cfa28a225aaf274a80f3cd8d968a3485768e8 (patch)
tree6647aa4b4339c8f64c3d9f4a1b080822a42ed497 /configure
parent4d040d35d09bcdb488e528fb4c8dcce568fd2556 (diff)
downloadmpv-526cfa28a225aaf274a80f3cd8d968a3485768e8.tar.bz2
mpv-526cfa28a225aaf274a80f3cd8d968a3485768e8.tar.xz
Remove word size check and macro and use __WORDSIZE directly instead.
It has been done this way in libswscale for years without apparent ill effect. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27699 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 0 insertions, 13 deletions
diff --git a/configure b/configure
index e418f95303..86b436061d 100755
--- a/configure
+++ b/configure
@@ -2927,17 +2927,6 @@ fi
echores "$_fast_inttypes"
-echocheck "word size"
-_mp_wordsize="#undef MP_WORDSIZE"
-cat > $TMPC << EOF
-#include <stdio.h>
-#include <sys/types.h>
-int main(void) { printf("%d\n", sizeof(size_t)*8); return 0; }
-EOF
-cc_check && _wordsize=`$TMPEXE` && _mp_wordsize="#define MP_WORDSIZE $_wordsize"
-echores "$_wordsize"
-
-
echocheck "malloc.h"
cat > $TMPC << EOF
#include <malloc.h>
@@ -8500,8 +8489,6 @@ $_def_confwin32
/* Define this to any prefered value from 386 up to infinity with step 100 */
#define __CPU__ $iproc
-$_mp_wordsize
-
$_def_vcd
#ifdef sun