aboutsummaryrefslogtreecommitdiff
path: root/tests/datagencli.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/datagencli.c')
-rw-r--r--tests/datagencli.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/datagencli.c b/tests/datagencli.c
index 2976b530..ccb27dfc 100644
--- a/tests/datagencli.c
+++ b/tests/datagencli.c
@@ -34,6 +34,14 @@
/**************************************
+* Compiler specific
+**************************************/
+#ifdef _MSC_VER /* Visual Studio */
+#define strtoull _strtoui64 /* https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/strtoui64-wcstoui64-strtoui64-l-wcstoui64-l */
+#endif
+
+
+/**************************************
* Constants
**************************************/
#define KB *(1 <<10)