On 2012.01.26 23:09, Pete Batard wrote:
shouldn't we have all our config dependent files starting with:

#if defined(HAVE_CONFIG_H) && !defined(__CDIO_CONFIG_H__)
#define __CDIO_CONFIG_H__ 1
#include "config.h"
#else
#if !defined(EXTERNAL_LIBCDIO_CONFIG_H)
#define EXTERNAL_LIBCDIO_CONFIG_H
#include <cdio/cdio_config.h>
#endif
#endif

more accurately:

#if !defined(__CDIO_CONFIG_H__)
# if defined(HAVE_CONFIG_H)
#  define __CDIO_CONFIG_H__ 1
#  include "config.h"
# elif !defined(EXTERNAL_LIBCDIO_CONFIG_H)
#  define EXTERNAL_LIBCDIO_CONFIG_H
#  include <cdio/cdio_config.h>
# endif
#endif

Regards,

/Pete

Reply via email to