node-struct icon indicating copy to clipboard operation
node-struct copied to clipboard

What about long?

Open robsdedude opened this issue 8 years ago • 2 comments

I'm using a 64-bit Linux. My problem is that long has 64 bits on my system while it has 32 bits on 32 bit machines. Is there a way to automatically detect on which system this lib is running and to automagically adjust the length of longs?

PS: I want it to run cross platform. Therefore, just using word64Sle is not sufficient.

robsdedude avatar Jan 26 '17 13:01 robsdedude

https://nodejs.org/dist/latest-v6.x/docs/api/os.html#os_os_arch

xdenser avatar Jan 26 '17 17:01 xdenser

I see, but your library could support long out of the box, couldn't it?

robsdedude avatar Jan 27 '17 12:01 robsdedude