Skip to content

Commit b2dd91e

Browse files
committed
add winrt patch
1 parent 81efc3a commit b2dd91e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

contrib/src/png/winrt.patch

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
--- png/pngpriv.h.orig 2013-05-09 15:17:34.933583625 +0200
2+
+++ png/pngpriv.h 2013-05-09 15:18:33.981581142 +0200
3+
@@ -360,11 +360,7 @@
4+
5+
/* Memory model/platform independent fns */
6+
#ifndef PNG_ABORT
7+
-# ifdef _WINDOWS_
8+
-# define PNG_ABORT() ExitProcess(0)
9+
-# else
10+
# define PNG_ABORT() abort()
11+
-# endif
12+
#endif
13+
14+
#ifdef USE_FAR_KEYWORD

0 commit comments

Comments
 (0)