Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/crtst.c')
-rw-r--r--winsup/mingw/crtst.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/winsup/mingw/crtst.c b/winsup/mingw/crtst.c
new file mode 100644
index 000000000..4835b0963
--- /dev/null
+++ b/winsup/mingw/crtst.c
@@ -0,0 +1,12 @@
+/*
+ * crtst.c
+ *
+ * This object file defines _CRT_MT to have a value of 0, which will
+ * turn off MT support in GCC runtime. This is linked by default unless
+ * you specify -mthreads when linking with gcc.
+ *
+ * Mumit Khan <khan@nanotech.wisc.edu>
+ *
+ */
+
+int _CRT_MT = 0;