fixed: Really fix trac #7225 now.
authorceros7 <ceros7@svn>
Sun, 4 Oct 2009 03:23:39 +0000 (03:23 +0000)
committerceros7 <ceros7@svn>
Sun, 4 Oct 2009 03:23:39 +0000 (03:23 +0000)
Just added the sizeof size_t check back.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23398 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

configure.in
xbmc/lib/libPython/XBPythonDllFuncs.S

index 01bb097..a82b28f 100644 (file)
@@ -730,6 +730,7 @@ AC_CHECK_FUNCS([atexit dup2 fdatasync floor fs_stat_dev ftime ftruncate getcwd g
 
 # Check for various sizes
 AC_CHECK_SIZEOF([int])
+AC_CHECK_SIZEOF([size_t])
 
 dashes="------------------------"
 final_message="\n  XBMC Configuration:"
index ceb0180..1edc354 100644 (file)
@@ -76,7 +76,7 @@
 #if (defined USE_EXTERNAL_PYTHON) && (!defined HAVE_LIBPYTHON2_4)
   /* Upstream Python rename Py_InitModule4 for 64-bit systems, for Python
    versions higher than 2.4 */
-  #ifdef __x86_64__ 
+  #if SIZEOF_SIZE_T != SIZEOF_INT 
   FUNCTION(Py_InitModule4_64)
   #else
   FUNCTION(Py_InitModule4)