Merge pull request #16 from CiderMan/master

Fix for issue 8
This commit is contained in:
Mike Long
2016-09-25 19:32:47 +01:00
committed by GitHub
3 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
build/ build/
*~

View File

@@ -10,6 +10,8 @@ $MAX_CALL_HISTORY = 50
def include_dependencies def include_dependencies
putd "#include <stdarg.h>" putd "#include <stdarg.h>"
putd "#include <string.h> /* For memset and memcpy */"
putd ""
end end
def output_constants def output_constants

2
fff.h
View File

@@ -27,6 +27,8 @@ SOFTWARE.
#define FAKE_FUNCTIONS #define FAKE_FUNCTIONS
#include <stdarg.h> #include <stdarg.h>
#include <string.h> /* For memset and memcpy */
#define FFF_MAX_ARGS (20u) #define FFF_MAX_ARGS (20u)
#ifndef FFF_ARG_HISTORY_LEN #ifndef FFF_ARG_HISTORY_LEN
#define FFF_ARG_HISTORY_LEN (50u) #define FFF_ARG_HISTORY_LEN (50u)