vcpkg/ports/libpng-apng/use-abort-on-all-platforms.patch
Albert Huang a05cbffe55 Update libpng-apng to match libpng ports changes + update to 1.6.36 (#4944)
* Update libpng-apng to match libpng ports changes + update to 1.6.36

* Delete CONTROL.bak

* Delete portfile.cmake.bak

* Delete use-abort-on-all-platforms.patch.bak
2018-12-13 17:40:18 -08:00

18 lines
396 B
Diff

diff --git a/pngpriv.h b/pngpriv.h
index fe3355d..5a049b5 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. */