X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fisapipe.c;h=82df3ea8d4be7c1656025b6c6f9ae987a05a0dfb;hb=0e1c6ff93f27c939ba9e0df945b16ef98eaaeef1;hp=933863e40613b4a8492eb3e0e2a8341c8805c7a7;hpb=441aa3044f43e5572f58c354f01e6bc070acd5c7;p=gnulib.git diff --git a/lib/isapipe.c b/lib/isapipe.c index 933863e40..82df3ea8d 100644 --- a/lib/isapipe.c +++ b/lib/isapipe.c @@ -1,6 +1,6 @@ /* Test whether a file descriptor is a pipe. - Copyright (C) 2006, 2008 Free Software Foundation, Inc. + Copyright (C) 2006, 2008-2012 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -26,12 +26,12 @@ #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ /* Windows platforms. */ -/* Get _get_osfhandle. */ -# include - /* Get GetFileType. */ # include +/* Get _get_osfhandle. */ +# include "msvc-nothrow.h" + int isapipe (int fd) {