Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit631ea61

Browse files
committed
Use correct ifdef test for cygwin, namely __CYGWIN__ (note underscores).
1 parentd0e4a07 commit631ea61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/test/regress/pg_regress.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
14-
* $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.13 2006/07/24 01:50:22 adunstan Exp $
14+
* $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.14 2006/07/25 01:37:42 adunstan Exp $
1515
*
1616
*-------------------------------------------------------------------------
1717
*/
@@ -437,7 +437,7 @@ initialize_environment(void)
437437
unsetenv("LANG");
438438
unsetenv("LANGUAGE");
439439
/* On Windows the default locale may not be English, so force it */
440-
#if defined(WIN32)|| defined(CYGWIN)
440+
#if defined(WIN32)|| defined(__CYGWIN__)
441441
putenv("LANG=en");
442442
#endif
443443

@@ -513,7 +513,7 @@ initialize_environment(void)
513513
*/
514514
add_to_path("LD_LIBRARY_PATH",':',libdir);
515515
add_to_path("DYLD_LIBRARY_PATH",':',libdir);
516-
#if defined(WIN32)|| defined(CYGWIN)
516+
#if defined(WIN32)|| defined(__CYGWIN__)
517517
add_to_path("PATH",';',libdir);
518518
#endif
519519
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp