Latest code don't compile on windows with vs 2015. Complain about random() not available in the # if NS_DISABLE_WS_RANDOM_MASK return 0xefbeadde; /\* generated with a random number generator, I swear */ # else if (sizeof(long) >= 4) { return (uint32_t) random(); } else if (sizeof(long) == 2) { return (uint32_t) random() << 16 | (uint32_t) random(); } # endif }