Browse code

fixed various issues for windows builds

Kevin Lin authored on 2014/10/01 04:22:00
Showing 2 changed files
... ...
@@ -2321,7 +2321,7 @@ static int decodehex(const char *hexsig)
2321 2321
 	if (clen) {
2322 2322
 	    cflags = cli_calloc(clen+1, sizeof(char));
2323 2323
 	    if (!cflags) {
2324
-		cli_errmsg("!cannot allocate memory for compile flags\n");
2324
+		mprintf("!cannot allocate memory for compile flags\n");
2325 2325
 		return -1;
2326 2326
 	    }
2327 2327
 	    strncpy(cflags, hexsig+tlen+rlen+2, clen);
... ...
@@ -166,6 +166,8 @@ EXPORTS cli_checkfp_pe @44369 NONAME
166 166
 EXPORTS cli_bytefunc_describe @44370 NONAME
167 167
 EXPORTS cli_bytetype_describe @44371 NONAME
168 168
 EXPORTS cli_bytevalue_describe @44372 NONAME
169
+EXPORTS cli_pcre_freeoff @44373 NONAME
170
+EXPORTS cli_pcre_recaloff @44374 NONAME
169 171
 
170 172
 ; compatibility layer, tommath, zlib
171 173
 EXPORTS w32_srand @44269 NONAME