提交 c4f0537c 编写于 作者: M mvandervoord

- changed the default handling to always include stdint unless told to exclude it.

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@140 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
上级 dbdc6030
......@@ -10,12 +10,12 @@
#include <stdio.h>
#include <setjmp.h>
//Limits.h is often automatically included.
//stdint.h is often automatically included.
//Unity uses it to guess at the sizes of integer types, etc.
#ifdef UNITY_USE_LIMITS_H
#include <limits.h>
#endif
#ifdef UNITY_USE_STDINT_H
#ifndef UNITY_EXCLUDE_STDINT_H
#include <stdint.h>
#endif
......@@ -111,10 +111,7 @@ typedef _UU64 _U_UINT;
typedef _US64 _U_SINT;
#endif
#ifndef UINTPTR_MAX
#error "OH SHITSTICKS!"
#endif
//-------------------------------------------------------
// Pointer Support
//-------------------------------------------------------
......
......@@ -20,8 +20,7 @@ compiler:
items:
- UNITY_SUPPORT_64
- UNITY_INCLUDE_DOUBLE
- UNITY_SUPPORT_TEST_CASES
- UNITY_USE_STDINT_H
- UNITY_SUPPORT_TEST_CASES
object_files:
prefix: '-o'
extension: '.o'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册