summaryrefslogtreecommitdiffstats
path: root/gettext-tools/lib/findprog.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2004-04-28 11:13:59 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:11:51 +0200
commit7cc6e361fa03f77e33c971e10f07f962e667f665 (patch)
treeec066277ca7d0c24f2a8b72a29c1ee7b818d8494 /gettext-tools/lib/findprog.c
parentdf2d03760e8dbcd10faea41f341a88b19ac520fc (diff)
downloadexternal_gettext-7cc6e361fa03f77e33c971e10f07f962e667f665.zip
external_gettext-7cc6e361fa03f77e33c971e10f07f962e667f665.tar.gz
external_gettext-7cc6e361fa03f77e33c971e10f07f962e667f665.tar.bz2
Improved Cygwin support.
Diffstat (limited to 'gettext-tools/lib/findprog.c')
-rw-r--r--gettext-tools/lib/findprog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gettext-tools/lib/findprog.c b/gettext-tools/lib/findprog.c
index 48c3edf..469acfd 100644
--- a/gettext-tools/lib/findprog.c
+++ b/gettext-tools/lib/findprog.c
@@ -1,5 +1,5 @@
/* Locating a program in PATH.
- Copyright (C) 2001-2003 Free Software Foundation, Inc.
+ Copyright (C) 2001-2004 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
@@ -39,8 +39,8 @@
const char *
find_in_path (const char *progname)
{
-#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__
- /* Win32, OS/2, DOS */
+#if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__
+ /* Win32, Cygwin, OS/2, DOS */
/* The searching rules with .COM, .EXE, .BAT, .CMD etc. suffixes are
too complicated. Leave it to the OS. */
return progname;