view etc/inttypes.h @ 28602:4cc1fbdaad5f

Print an error and return NULL in vf_get_image if we try to allocate a format with bpp == 0, since this can not work. This way at least we crash earlier and print an error message.
author reimar
date Tue, 17 Feb 2009 18:59:47 +0000
parents dae8bc96fb15
children
line wrap: on
line source


// fallback if the user doesn't have inttypes.h (libc5 systems)

#include <sys/bitypes.h>