changeset 24:b0f1b8544b62

Silence some warnings.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 28 Sep 2012 15:45:23 +0300
parents 49cc9a173427
children 372b68c0752a
files stb_image.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stb_image.c	Fri Sep 28 14:52:40 2012 +0300
+++ b/stb_image.c	Fri Sep 28 15:45:23 2012 +0300
@@ -812,6 +812,7 @@
    return (z << 16) + get16(s);
 }
 
+#ifdef STBI_CRAP_FORMATS
 static int get16le(stbi *s)
 {
    int z = get8(s);
@@ -823,6 +824,7 @@
    uint32 z = get16le(s);
    return z + (get16le(s) << 16);
 }
+#endif
 
 //////////////////////////////////////////////////////////////////////////////
 //