summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-13 19:48:41 +0200
committerDavid Robillard <d@drobilla.net>2020-08-14 09:43:38 +0200
commitb52e3f8db950cc8f3397fad00d0fcc8e611004f7 (patch)
tree59ff12f518308d36befb5b854dd73815ed8b8210 /test
parentf8b396210aa3247a64c890a69a7d059513797607 (diff)
downloadzix-b52e3f8db950cc8f3397fad00d0fcc8e611004f7.tar.gz
zix-b52e3f8db950cc8f3397fad00d0fcc8e611004f7.tar.bz2
zix-b52e3f8db950cc8f3397fad00d0fcc8e611004f7.zip
Remove workarounds for ancient versions of MSVC
Diffstat (limited to 'test')
-rw-r--r--test/sorted_array_test.c7
-rw-r--r--test/tree_test.c7
2 files changed, 2 insertions, 12 deletions
diff --git a/test/sorted_array_test.c b/test/sorted_array_test.c
index 4bfd515..db7c1d0 100644
--- a/test/sorted_array_test.c
+++ b/test/sorted_array_test.c
@@ -17,18 +17,13 @@
#include "zix/common.h"
#include "zix/sorted_array.h"
+#include <inttypes.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
-#ifdef _MSC_VER
-# define PRIdPTR "Id"
-#else
-# include <inttypes.h>
-#endif
-
static unsigned seed = 1;
static int
diff --git a/test/tree_test.c b/test/tree_test.c
index 3e35fb3..52caede 100644
--- a/test/tree_test.c
+++ b/test/tree_test.c
@@ -18,18 +18,13 @@
#include "zix/common.h"
+#include <inttypes.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
-#ifdef _MSC_VER
-# define PRIdPTR "Id"
-#else
-# include <inttypes.h>
-#endif
-
static unsigned seed = 1;
static int