[CLN-list] win64 build

Jan Rheinländer jrheinlaender at gmx.de
Fri Feb 23 21:41:43 CET 2018


Hi,

I'm trying to create a win64 build of CLN. Most of the changes seem to
involve replacing "unsigned long" with "uintptr_t" since "long" is 32bit
in Win64.

To make these changes useable for the community (by way of a git
patch?), should I

a) just go ahead and change

b) put all the changes into a

#if defined(_M_AMD64)
  <changed code>
#else
  <original code>
#endif

I refer specifically to the "unsigned long" to "uintptr_t" changes, not
to all changes in general. Is there any danger in doing this change on
other platforms?

Best regards,

    Jan Rheinländer




More information about the CLN-list mailing list