mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-18 17:25:09 -04:00
Make zint compile on MS-VC6. Adopt makefiles to new file list.
This commit is contained in:
parent
5fe97772cb
commit
045a9e3b00
7 changed files with 27 additions and 21 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue