Port: Dummy locking of stdout on mingw in libtap
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 15 Sep 2016 21:19:51 +0000 (21:19 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 9 Jun 2017 20:58:15 +0000 (16:58 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/utils/tap/tap.c

index 08dfa658ca76e4e3cdca4ab1fca7f1c694b4d791..b505eff613d2faf31b92bddc81d3526cbbff770e 100644 (file)
@@ -58,6 +58,18 @@ static void _expected_tests(unsigned int);
 static void _tap_init(void);
 static void _cleanup(void);
 
+#ifdef __MINGW32__
+static inline
+void flockfile (FILE * filehandle) {
+       return;
+}
+
+static inline
+void funlockfile(FILE * filehandle) {
+       return;
+}
+#endif
+
 /*
  * Generate a test result.
  *
This page took 0.024986 seconds and 4 git commands to generate.