Port: Dummy locking of stdout on mingw in libtap
[babeltrace.git] / tests / utils / tap / tap.c
index 8bf72f6fcde57dac97fd9673cb0df5efdf9b6b0c..b505eff613d2faf31b92bddc81d3526cbbff770e 100644 (file)
@@ -24,7 +24,6 @@
  * SUCH DAMAGE.
  */
 
-#define _GNU_SOURCE
 #include <ctype.h>
 #include <stdarg.h>
 #include <stdio.h>
@@ -59,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.023962 seconds and 4 git commands to generate.