Pārlūkot izejas kodu

Merge branch 'ticket21953_029'

Nick Mathewson 8 gadi atpakaļ
vecāks
revīzija
d34fa32ece
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      src/or/main.c

+ 3 - 0
src/or/main.c

@@ -3667,6 +3667,9 @@ tor_main(int argc, char *argv[])
   int result = 0;
 
 #ifdef _WIN32
+#ifndef HeapEnableTerminationOnCorruption
+#define HeapEnableTerminationOnCorruption 1
+#endif
   /* On heap corruption, just give up; don't try to play along. */
   HeapSetInformation(NULL, HeapEnableTerminationOnCorruption, NULL, 0);
   /* Call SetProcessDEPPolicy to permanently enable DEP.