Permalink
Browse files

vl/generic.c: fixes debugging messages

  • Loading branch information...
1 parent e0700ea commit a3fe91ff362d3bbb9b153f7eb2d37734251a4d7f @vedaldi vedaldi committed Jun 19, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 vl/generic.c
View
@@ -723,7 +723,7 @@ VL_EXPORT VlThreadSpecificState *
vl_thread_specific_state_new ()
{
VlThreadSpecificState * self ;
-#ifdef DEBUG
+#if defined(DEBUG)
printf("VLFeat thread constructor called\n") ;
#endif
self = malloc(sizeof(VlThreadSpecificState)) ;
@@ -743,7 +743,7 @@ vl_thread_specific_state_new ()
VL_EXPORT void
vl_thread_specific_state_delete (VlThreadSpecificState * self)
{
-#ifdef DEBUG
+#if defined(DEBUG)
printf("VLFeat thread destructor called\n") ;
#endif
free (self) ;
@@ -802,7 +802,7 @@ static void
vl_constructor ()
{
VlState * state ;
-#ifndef DEBUG
+#if defined(DEBUG)
printf("VLFeat constructor called\n") ;
#endif
@@ -856,7 +856,7 @@ static void
vl_destructor ()
{
VlState * state ;
-#ifndef DEBUG
+#if defined(DEBUG)
printf("VLFeat destructor called\n") ;
#endif

0 comments on commit a3fe91f

Please sign in to comment.