aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dbfuzz2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/dbfuzz2.c b/test/dbfuzz2.c
index 1649d42d5..caf39215e 100644
--- a/test/dbfuzz2.c
+++ b/test/dbfuzz2.c
@@ -43,8 +43,10 @@
#include <stdarg.h>
#include <ctype.h>
#include <stdint.h>
+#ifndef _WIN32
#include <sys/time.h>
#include <sys/resource.h>
+#endif
#include "sqlite3.h"
/*
@@ -261,6 +263,7 @@ int LLVMFuzzerInitialize(int *pArgc, char ***pArgv){
szMax = strtol(argv[++i], 0, 0);
continue;
}
+#ifndef _WIN32
if( strcmp(z,"max-stack")==0
|| strcmp(z,"max-data")==0
|| strcmp(z,"max-as")==0
@@ -291,6 +294,7 @@ int LLVMFuzzerInitialize(int *pArgc, char ***pArgv){
zType, (int)x.rlim_cur, (int)y.rlim_cur);
continue;
}
+#endif /* _WIN32 */
}
argv[j++] = argv[i];
}