#410 Incorrect HAVE_CONFIG_H checks

1.3.0
closed-fixed
Erik
None
5
2014-03-24
2014-03-06
No

The source uses a mixture of "#ifdef HAVE_CONFIG_H" and "#if HAVE_CONFIG_H" checks. Judging from

DEFS=-DHAVE_CONFIG_H

in the configure I supposed it should be "#ifdef" in all cases. These incorrect checks cause build errors since it tries to include the config.h on a custom configuration, that don't provide one.

I can provide a patch, if necessary.

Discussion

  • Erik
    Erik
    2014-03-24

    Fixed in:

    commit 006b8356d5159792211a2477a46a5ea832a3c0ae
    Author: Erik de Castro Lopo <erikd@mega-nerd.com>
    Date:   Sun Mar 23 21:59:46 2014 +1100
    
    Fix all instances of '#if HAVE_CONFIG_H'.
    
    Should be '#ifdef HAVE_CONFIG_H'.
    
     
  • Erik
    Erik
    2014-03-24

    • status: open --> closed-fixed
    • assigned_to: Erik