|
From: | Pete Batard |
Subject: | Re: [Libcdio-devel] HAVE_CONFIG_H vs EXTERNAL_LIBCDIO_CONFIG_H |
Date: | Thu, 26 Jan 2012 23:20:54 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |