Skip to content

Commit 631ea61

Browse files
committed
Use correct ifdef test for cygwin, namely __CYGWIN__ (note underscores).
1 parent d0e4a07 commit 631ea61

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy