view libdha/config.h @ 13316:0d17bef9894d

* Changed malloc and strncpy to strdup. Less code. * More error checking. If malloc or strdup fails, print message and exit. * Free malloc'd memory when uninit is called. * Moved default of jpeg_outdir to preinit, so it is always malloc'd and can easily be freed at uninit.
author ivo
date Sat, 11 Sep 2004 19:59:31 +0000
parents 9dbb9c710480
children a7e5d72343e5
line wrap: on
line source

#ifndef LIBDHA_CONFIG_H
#define LIBDHA_CONFIG_H

#include "../config.h"

#ifdef TARGET_LINUX
#ifndef __powerpc__
#define CONFIG_DHAHELPER
#endif
#endif

#if defined(__powerpc__) && defined(CONFIG_SVGAHELPER)
#undef CONFIG_SVGAHELPER
#endif

#endif /* LIBDHA_CONFIG_H */