mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Make zint compile on MS-VC6. Adopt makefiles to new file list.
This commit is contained in:
@ -171,7 +171,7 @@ static void define_mode(unsigned int gbdata[], const size_t length, char* mode,
|
||||
#ifndef _MSC_VER
|
||||
char char_modes[length][GM_NUM_MODES];
|
||||
#else
|
||||
char* char_modes = (char*) _alloca(length * GM_NUM_MODES);
|
||||
char** char_modes = (char**) _alloca(length * GM_NUM_MODES);
|
||||
#endif
|
||||
memset(char_modes, 0, length * GM_NUM_MODES);
|
||||
|
||||
|
Reference in New Issue
Block a user