1
0

use_abort.patch 396 B

1234567891011121314151617
  1. diff --git a/pngpriv.h b/pngpriv.h
  2. index 583c26f..135651c 100644
  3. --- a/pngpriv.h
  4. +++ b/pngpriv.h
  5. @@ -556,11 +556,7 @@
  6. /* Memory model/platform independent fns */
  7. #ifndef PNG_ABORT
  8. -# ifdef _WINDOWS_
  9. -# define PNG_ABORT() ExitProcess(0)
  10. -# else
  11. -# define PNG_ABORT() abort()
  12. -# endif
  13. +# define PNG_ABORT() abort()
  14. #endif
  15. /* These macros may need to be architecture dependent. */