Hi Eric, On Sun, Oct 18, 2009 at 2:09 PM, Eric Blake <e...@byu.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > According to Bruce Korb on 10/18/2009 12:21 PM: >> Eric Blake wrote: >>> But on Windows 64 bit platforms, that is exactly the case (64-bit >>> pointers, 32-bit long). >> >> Thanks, Eric. More compat.h magic: >> >>> #ifndef HAVE_INTPTR_T >>> # if SIZEOF_CHARP == SIZEOF_LONG >>> typedef signed long intptr_t; > > On any platform that lacks intptr_t, this should be right - the only > platforms stupid enough to provide 32-bit long but 64-bit char* (aka > windows 64) should at least be sane enough to provide intptr_t.
What started this all off is that there was some platform out there that did not define intptr_t and had a pointer size that was not that of long. Not having access to such a platform (and being uncertain that I'd even _want_ to ;), I cooked up this stuff so NTP would build on whatever it was that was that broken. My hope was to try to shoot the problem dead so I never see it again. :) Thank you! Cheers - Bruce ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Autogen-users mailing list Autogen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/autogen-users