diff src/dmzlib.c @ 951:1723ebe6771c

Add kludge stbi__err() implementation temporarily until the error handling in dmzlib module is sorted out properly.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 26 Feb 2015 18:38:14 +0200
parents 6ed9465f3913
children 88cbea0ee9b5
line wrap: on
line diff
--- a/src/dmzlib.c	Thu Feb 26 18:35:29 2015 +0200
+++ b/src/dmzlib.c	Thu Feb 26 18:38:14 2015 +0200
@@ -11,6 +11,14 @@
 #define STBI_ASSERT(x) // dummy
 
 
+static int stbi__err(const char *s, const char *p)
+{
+    (void) s;
+    (void) p;
+    return 0;
+}
+
+
 // @TODO: should statically initialize these for optimal thread safety
 static Uint8 stbi__zdefault_length[288], stbi__zdefault_distance[32];