I got this code inside a small program to read the file:
#ifdef WIN32 unsigned char *buffer = (unsigned char *)alloca((unsigned int)ui.length); #else unsigned char buffer[ui.length]; #endif
Why is the pointer used for the platform and the Win32 array for other platforms?
source share