aboutsummaryrefslogtreecommitdiff
path: root/vcpkg-ports/libpng/use_abort.patch
blob: c52df5c2b7814dd9aa4863cada8c0ceaa25f2f83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/pngpriv.h b/pngpriv.h
index 583c26f..135651c 100644
--- a/pngpriv.h
+++ b/pngpriv.h
@@ -556,11 +556,7 @@
 
 /* Memory model/platform independent fns */
 #ifndef PNG_ABORT
-#  ifdef _WINDOWS_
-#    define PNG_ABORT() ExitProcess(0)
-#  else
-#    define PNG_ABORT() abort()
-#  endif
+#  define PNG_ABORT() abort()
 #endif
 
 /* These macros may need to be architecture dependent. */