shines77 / jemalloc-win32

jemalloc — general purpose memory allocation functions, can be compiled on the windows.
MIT License
45 stars 16 forks source link

LG_SIZEOF_LONG should always be 2 on Windows #5

Open linmajia opened 8 years ago

linmajia commented 8 years ago

In jemalloc_internal_defs.h, sizeof(long) is always 4 on Windows no matter x86 or x64 is targeted.

BTW, _WIN32 is defined for both x86 and x64 targets. So _WIN32 alone cannot be used to distinguish the target.

shines77 commented 8 years ago

You are right, maybe can change the order of _WIN64 and _WIN32's marco.

linmajia commented 8 years ago

Any plan to follow latest jemalloc(4.0.4)?

rustyx commented 8 years ago

This project isn't really needed anymore, since jemalloc now has official support for Visual Studio 2015.

shines77 commented 8 years ago

@rustyx Thanks for your notice.