# HG changeset patch # User Matti Hamalainen # Date 1424968694 -7200 # Node ID 1723ebe6771c2794145b8f399b9d88835cdbac44 # Parent 88d9440afad0d34653b960d1e89deee493c0e8d2 Add kludge stbi__err() implementation temporarily until the error handling in dmzlib module is sorted out properly. diff -r 88d9440afad0 -r 1723ebe6771c src/dmzlib.c --- 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];