File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -604,12 +604,12 @@ BOOLEAN PhInitializeRestartPolicy(
604
604
return TRUE;
605
605
}
606
606
607
- #ifdef DEBUG
607
+ #ifndef DEBUG
608
608
#include <symprv.h>
609
609
#include <minidumpapiset.h>
610
610
611
- LONG CALLBACK PhpUnhandledExceptionCallback (
612
- _In_ struct _EXCEPTION_POINTERS * ExceptionInfo
611
+ ULONG CALLBACK PhpUnhandledExceptionCallback (
612
+ _In_ PEXCEPTION_POINTERS ExceptionInfo
613
613
)
614
614
{
615
615
PPH_STRING errorMessage ;
@@ -807,6 +807,7 @@ BOOLEAN PhInitializeMitigationPolicy(
807
807
VOID
808
808
)
809
809
{
810
+ #if (PHNT_VERSION >= PHNT_WIN7 )
810
811
#ifndef DEBUG
811
812
#define DEFAULT_MITIGATION_POLICY_FLAGS \
812
813
(PROCESS_CREATION_MITIGATION_POLICY_HEAP_TERMINATE_ALWAYS_ON | \
@@ -911,6 +912,10 @@ BOOLEAN PhInitializeMitigationPolicy(
911
912
#else
912
913
return TRUE;
913
914
#endif
915
+
916
+ #else
917
+ return TRUE;
918
+ #endif
914
919
}
915
920
916
921
NTSTATUS PhpReadSignature (
You can’t perform that action at this time.
0 commit comments