X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstdio--.h;h=adde0f9977c6252a8724276dd1525d660d861cc5;hb=81979bc8e213e442acf9f2bef9f6e227602c5b70;hp=ed90dda5a532de7e9cd912d842912f2eb8fc7298;hpb=ccb9c6798066958dd14c1005a7d5ffc1cbd6edae;p=gnulib.git diff --git a/lib/stdio--.h b/lib/stdio--.h index ed90dda5a..adde0f997 100644 --- a/lib/stdio--.h +++ b/lib/stdio--.h @@ -1,6 +1,6 @@ /* Like stdio.h, but redefine some names to avoid glitches. - Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc. + Copyright (C) 2005-2006, 2009-2011 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 @@ -25,6 +25,11 @@ # define fopen fopen_safer #endif +#if GNULIB_FREOPEN_SAFER +# undef freopen +# define freopen freopen_safer +#endif + #if GNULIB_TMPFILE_SAFER # undef tmpfile # define tmpfile tmpfile_safer