early-access version 2853
This commit is contained in:
17
externals/vcpkg/ports/libpng/use_abort.patch
vendored
Executable file
17
externals/vcpkg/ports/libpng/use_abort.patch
vendored
Executable file
@@ -0,0 +1,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. */
|
||||
Reference in New Issue
Block a user