diff options
Diffstat (limited to 'winsup/mingw/crtmt.c')
-rw-r--r-- | winsup/mingw/crtmt.c | 14 |
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; |