提交 d0c3f24f 编写于 作者: S Scott Vokes

If using UNITY_SUPPORT_64, UNITY_POINTER_WIDTH should default to 64 (not 32).

Fixes failing test cases on 64-bit OSX: pointers to local variables were
being converted to U32s before comparison.
上级 17663fee
......@@ -72,8 +72,12 @@ typedef _US64 _U_SINT;
//-------------------------------------------------------
#ifndef UNITY_POINTER_WIDTH
#ifdef UNITY_SUPPORT_64
#define UNITY_POINTER_WIDTH (64)
#else
#define UNITY_POINTER_WIDTH (32)
#endif
#endif /* UNITY_POINTER_WIDTH */
#if (UNITY_POINTER_WIDTH == 32)
typedef _UU32 _UP;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册