瀏覽代碼

Revert "Remove stray HOST_LONG_SIZE"

This reverts commit b754e4fc1e8e68af975c545c38ebc3b001ebc98f.
malc 13 年之前
父節點
當前提交
30d70e71b3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      thunk.h

+ 1 - 1
thunk.h

@@ -113,7 +113,7 @@ static inline int thunk_type_size(const argtype *type_ptr, int is_host)
       defined(HOST_PARISC) || defined(HOST_SPARC64)
       defined(HOST_PARISC) || defined(HOST_SPARC64)
             return 4;
             return 4;
 #elif defined(HOST_PPC)
 #elif defined(HOST_PPC)
-            return TARGET_ABI_BITS / 8;
+            return HOST_LONG_SIZE;
 #else
 #else
             return 2;
             return 2;
 #endif
 #endif