fixed various issues for windows builds

remotes/push_mirror/swebb/clamyara^2
Kevin Lin 11 years ago
parent 17d741d8a5
commit 02d2de779f
  1. 2
      sigtool/sigtool.c
  2. 2
      win32/libclamav.def

@ -2321,7 +2321,7 @@ static int decodehex(const char *hexsig)
if (clen) {
cflags = cli_calloc(clen+1, sizeof(char));
if (!cflags) {
cli_errmsg("!cannot allocate memory for compile flags\n");
mprintf("!cannot allocate memory for compile flags\n");
return -1;
}
strncpy(cflags, hexsig+tlen+rlen+2, clen);

@ -166,6 +166,8 @@ EXPORTS cli_checkfp_pe @44369 NONAME
EXPORTS cli_bytefunc_describe @44370 NONAME
EXPORTS cli_bytetype_describe @44371 NONAME
EXPORTS cli_bytevalue_describe @44372 NONAME
EXPORTS cli_pcre_freeoff @44373 NONAME
EXPORTS cli_pcre_recaloff @44374 NONAME
; compatibility layer, tommath, zlib
EXPORTS w32_srand @44269 NONAME

Loading…
Cancel
Save