From 415e00e359d2114a215289b4cf4c88368f232ba7 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 1 Jun 2016 11:20:57 +0300 Subject: backend: drop some win32-specific stuff --- backend/comics/comics-document.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'backend/comics/comics-document.c') diff --git a/backend/comics/comics-document.c b/backend/comics/comics-document.c index 2601d356..e3e461ae 100644 --- a/backend/comics/comics-document.c +++ b/backend/comics/comics-document.c @@ -30,27 +30,14 @@ #include #include -#ifdef G_OS_WIN32 -# define WIFEXITED(x) ((x) != 3) -# define WEXITSTATUS(x) (x) -#else -# include -#endif +#include #include "comics-document.h" #include "ev-document-misc.h" #include "ev-document-thumbnails.h" #include "ev-file-helpers.h" -#ifdef G_OS_WIN32 -/* On windows g_spawn_command_line_sync reads stdout in O_BINARY mode, not in O_TEXT mode. - * As a consequence, newlines are in a platform dependent representation (\r\n). This - * might be considered a bug in glib. - */ -#define EV_EOL "\r\n" -#else #define EV_EOL "\n" -#endif typedef enum { -- cgit v1.2.1