talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit e6a6008a144604ffc77613d7caa55532fa9a0eaf
parent bdc4080ad4250eab3c2184806c9fe29aaef27e39
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Sun, 20 Jan 2019 19:45:23 +0100

Remove unneeded w32_stdio.c

Diffstat:
Msrc/common/Makefile.am | 2+-
Dsrc/common/w32_stdio.c | 34----------------------------------
2 files changed, 1 insertion(+), 35 deletions(-)

diff --git 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 @@ -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 <http://www.gnu.org/licenses/>. - * - * For more information and a list of changes, see w32lib.h - */ - -#include <stdlib.h> -#include <string.h> - -#include "w32lib.h" - -#if MINGW64_VERSION < 200 -FILE *popen( const char *command, const char *type ){ - return NULL; -} -#endif - -int pclose( FILE *stream ){ - return -1; -}