From: Andrej Kacian Date: Sun, 20 Jan 2019 18:45:23 +0000 (+0100) Subject: Remove unneeded w32_stdio.c X-Git-Tag: 3.17.4~154 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=92cabb6caf36df21e0aae6622641e1a35ee60d0d Remove unneeded w32_stdio.c --- diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 805db4d3f..b5a5759fb 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -15,7 +15,7 @@ noinst_LTLIBRARIES = libclawscommon.la if OS_WIN32 arch_sources = w32_reg.c w32_signal.c w32_stat.c \ - w32_stdio.c w32_stdlib.c w32_string.c w32_time.c \ + w32_stdlib.c w32_string.c w32_time.c \ w32_unistd.c w32_wait.c w32_account.c arch_headers = w32lib.h else diff --git a/src/common/w32_stdio.c b/src/common/w32_stdio.c deleted file mode 100644 index af6a3ed2c..000000000 --- a/src/common/w32_stdio.c +++ /dev/null @@ -1,34 +0,0 @@ -/* w32_dirent.c - Posix emulation layer for Sylpheed (Claws) - * - * This file is part of w32lib. - * - * w32lib is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. - * - * w32lib is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - * - * For more information and a list of changes, see w32lib.h - */ - -#include -#include - -#include "w32lib.h" - -#if MINGW64_VERSION < 200 -FILE *popen( const char *command, const char *type ){ - return NULL; -} -#endif - -int pclose( FILE *stream ){ - return -1; -}