|
11 | 11 | * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
|
12 | 12 | * Portions Copyright (c) 1994, Regents of the University of California
|
13 | 13 | *
|
14 |
| - * $PostgreSQL: pgsql/src/interfaces/ecpg/test/pg_regress_ecpg.c,v 1.1 2007/06/12 11:07:30 mha Exp $ |
| 14 | + * $PostgreSQL: pgsql/src/interfaces/ecpg/test/pg_regress_ecpg.c,v 1.2 2007/06/14 13:10:11 mha Exp $ |
15 | 15 | *
|
16 | 16 | *-------------------------------------------------------------------------
|
17 | 17 | */
|
@@ -159,11 +159,11 @@ static void
|
159 | 159 | ecpg_init(void)
|
160 | 160 | {
|
161 | 161 | /* no reason to set -w for ecpg checks, except for when on windows */
|
162 |
| -if (strstr(host_platform,"-win32")) |
| 162 | +if (strstr(host_platform,"-win32")||strstr(host_platform,"-mingw32")) |
163 | 163 | basic_diff_opts="-w";
|
164 | 164 | else
|
165 | 165 | basic_diff_opts="";
|
166 |
| -if (strstr(host_platform,"-win32")) |
| 166 | +if (strstr(host_platform,"-win32")||strstr(host_platform,"-mingw32")) |
167 | 167 | pretty_diff_opts="-C3 -w";
|
168 | 168 | else
|
169 | 169 | pretty_diff_opts="-C3";
|
|