On Tue, Feb 3, 2009 at 1:33 AM, George Neill wrote:
> Hi All,
>
> I have ran in to some third party header code which looks like this
> (shortened for this example)
>
> #ifdef OPTION
> #define SOMETYPE int
> #else
> typedef int SOMETYPE;
> #endif
>
> Here is what I have come up with,
>
> CHECK_S
Hi All,
I have ran in to some third party header code which looks like this
(shortened for this example)
#ifdef OPTION
#define SOMETYPE int
#else
typedef int SOMETYPE;
#endif
Here is what I have come up with,
CHECK_SYMBOL_EXISTS(SOMETYPE "type.h" HAVE_SOMETYPE_DEFINE)
CHECK_TYPE_SIZE(SOMETY