1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Fix some portability issues (reliance on gcc-isms).

This commit is contained in:
Tom Lane
2004-04-01 23:44:38 +00:00
parent 51d1a12ed1
commit 47fe0517fc
7 changed files with 46 additions and 17 deletions

View File

@ -156,8 +156,10 @@ hlCover(HLPRSTEXT * prs, QUERYTYPE * query, int *p, int *q)
if (*p <= *q)
{
hlCheck ch = {&(prs->words[*p]), *q - *p + 1};
hlCheck ch;
ch.words = &(prs->words[*p]);
ch.len = *q - *p + 1;
if (TS_execute(GETQUERY(query), &ch, false, checkcondition_HL))
return true;
else