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:
authorChristopher Faylor <me@cgf.cx>2000-02-17 22:38:33 +0300
committerChristopher Faylor <me@cgf.cx>2000-02-17 22:38:33 +0300
commit1fd5e000ace55b323124c7e556a7a864b972a5c4 (patch)
treedc4fcf1e5e22a040716ef92c496b8d94959b2baa /winsup/mingw/crtmt.c
parent369d8a8fd5e887eca547bf34bccfdf755c9e5397 (diff)
import winsup-2000-02-17 snapshot
Diffstat (limited to 'winsup/mingw/crtmt.c')
-rw-r--r--winsup/mingw/crtmt.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/winsup/mingw/crtmt.c b/winsup/mingw/crtmt.c
new file mode 100644
index 000000000..116d850f0
--- /dev/null
+++ b/winsup/mingw/crtmt.c
@@ -0,0 +1,14 @@
+/*
+ * crtmt.c
+ *
+ * This object file defines _CRT_MT to have a value of 1, which will
+ * turn on MT support in GCC runtime. This is only linked in when
+ * you specify -mthreads when linking with gcc. The Mingw support
+ * library, libmingw32.a, contains the complement, crtst.o, which
+ * sets this variable to 0.
+ *
+ * Mumit Khan <khan@nanotech.wisc.edu>
+ *
+ */
+
+int _CRT_MT = 1;