changeset 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 88d9440afad0
children ffdae9cd81de
files src/dmzlib.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
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];