[autoconf] Comment on the SIZEOF_VOID__ -> SIZEOF_VOID_P workaround.

Explain where the weird SIZEOF_VOID__ comes from.
This commit is contained in:
M Joonas Pihlaja 2009-09-14 14:29:01 +03:00
parent cd94bf8bf3
commit 4152cd90e2
2 changed files with 4 additions and 0 deletions

View file

@ -43,6 +43,8 @@
#include "config.h"
#endif
/* The autoconf on OpenBSD 4.5 produces the malformed constant name
* SIZEOF_VOID__ rather than SIZEOF_VOID_P. Work around that here. */
#if !defined(SIZEOF_VOID_P) && defined(SIZEOF_VOID__)
# define SIZEOF_VOID_P SIZEOF_VOID__
#endif

View file

@ -22,6 +22,8 @@
#include "config.h"
#endif
/* The autoconf on OpenBSD 4.5 produces the malformed constant name
* SIZEOF_VOID__ rather than SIZEOF_VOID_P. Work around that here. */
#if !defined(SIZEOF_VOID_P) && defined(SIZEOF_VOID__)
# define SIZEOF_VOID_P SIZEOF_VOID__
#endif