Allow -DDEBUG build to compile

This commit is contained in:
Lovell Fuller 2017-12-06 22:04:11 +00:00
parent 0ade2e972f
commit f0949fbfcb
3 changed files with 2 additions and 5 deletions

View File

@ -167,6 +167,7 @@ vips_buildlut_build_init( VipsBuildlut *lut )
#ifdef DEBUG
printf( "Input table, sorted by 1st column\n" );
for( y = 0; y < lut->mat->Ysize; y++ ) {
int x;
printf( "%.4d ", y );
for( x = 0; x < lut->mat->Xsize; x++ )

View File

@ -659,7 +659,7 @@ vips_interpolate_bicubic_init( VipsInterpolateBicubic *bicubic )
{
#ifdef DEBUG
printf( "vips_interpolate_bicubic_init: " );
vips_object_print( VIPS_OBJECT( bicubic ) );
vips_object_print_dump( VIPS_OBJECT( bicubic ) );
#endif /*DEBUG*/
}

View File

@ -28,10 +28,6 @@
*/
/*
*/
#define DEBUG
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /*HAVE_CONFIG_H*/