mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-07-17 15:39:05 +08:00
- 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
This commit is contained in:
@ -10,12 +10,12 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <setjmp.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.
|
//Unity uses it to guess at the sizes of integer types, etc.
|
||||||
#ifdef UNITY_USE_LIMITS_H
|
#ifdef UNITY_USE_LIMITS_H
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef UNITY_USE_STDINT_H
|
#ifndef UNITY_EXCLUDE_STDINT_H
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -112,9 +112,6 @@ typedef _US64 _U_SINT;
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef UINTPTR_MAX
|
|
||||||
#error "OH SHITSTICKS!"
|
|
||||||
#endif
|
|
||||||
//-------------------------------------------------------
|
//-------------------------------------------------------
|
||||||
// Pointer Support
|
// Pointer Support
|
||||||
//-------------------------------------------------------
|
//-------------------------------------------------------
|
||||||
|
@ -21,7 +21,6 @@ compiler:
|
|||||||
- UNITY_SUPPORT_64
|
- UNITY_SUPPORT_64
|
||||||
- UNITY_INCLUDE_DOUBLE
|
- UNITY_INCLUDE_DOUBLE
|
||||||
- UNITY_SUPPORT_TEST_CASES
|
- UNITY_SUPPORT_TEST_CASES
|
||||||
- UNITY_USE_STDINT_H
|
|
||||||
object_files:
|
object_files:
|
||||||
prefix: '-o'
|
prefix: '-o'
|
||||||
extension: '.o'
|
extension: '.o'
|
||||||
|
Reference in New Issue
Block a user