summaryrefslogtreecommitdiff
path: root/NT_MAKEFILE
diff options
context:
space:
mode:
authorivmai <ivmai>2011-02-12 16:02:35 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:56 +0200
commit9f4d913809d364b29458b03e20e85c05885ab6f9 (patch)
tree90cc81c357c90f22ef8de96aadd2f689e98817e2 /NT_MAKEFILE
parentab10b1e07044799d692c313031aa65db5a76c593 (diff)
2011-02-10 Ivan Maidanski <ivmai@mail.ru>
* NT_MAKEFILE: Define _CRT_SECURE_NO_DEPRECATE for C++ files as well. * NT_STATIC_THREADS_MAKEFILE: Ditto. * doc/README.macros (USE_GET_STACKBASE_FOR_MAIN): Refine. * include/gc.h (GC_INIT): Document. * include/private/gc_priv.h (GC_MACH_HEADER, GC_MACH_SECTION, GC_GETSECTBYNAME): Define depending only on the word size (i.e., define these macros also for ARM). * tests/test.c (check_heap_stats): Print main thread stack bottom as well (only if verbose mode is on).
Diffstat (limited to 'NT_MAKEFILE')
-rw-r--r--NT_MAKEFILE2
1 files changed, 1 insertions, 1 deletions
diff --git a/NT_MAKEFILE b/NT_MAKEFILE
index e454b0b..f9077a3 100644
--- a/NT_MAKEFILE
+++ b/NT_MAKEFILE
@@ -18,7 +18,7 @@ all: gctest.exe cord\de.exe test_cpp.exe
$(cc) $(cdebug) $(cflags) $(cvars) -Iinclude -DALL_INTERIOR_POINTERS -DGC_NOT_DLL -D_CRT_SECURE_NO_DEPRECATE $*.c /Fo$*.obj
.cpp.obj:
- $(cc) $(cdebug) $(cflags) $(cvars) -Iinclude -DALL_INTERIOR_POINTERS -DGC_NOT_DLL $*.CPP /Fo$*.obj
+ $(cc) $(cdebug) $(cflags) $(cvars) -Iinclude -DALL_INTERIOR_POINTERS -DGC_NOT_DLL -D_CRT_SECURE_NO_DEPRECATE $*.CPP /Fo$*.obj
$(OBJS) tests\test.obj: include\private\gc_priv.h include\private\gc_hdrs.h include\gc.h include\private\gcconfig.h include\private\gc_locks.h include\private\gc_pmark.h include\gc_mark.h include\private\msvc_dbg.h