summaryrefslogtreecommitdiff
path: root/backend/comics
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-02 16:11:53 +0200
committerraveit65 <[email protected]>2016-06-02 16:11:53 +0200
commit6bccceb6b8573f9967331dde0a70cabeaccb6f44 (patch)
treee6cb07dd3d4241482f9598bc9686541de05557a9 /backend/comics
parent3551d1c5e7fff4665b12b607f87529995307338c (diff)
parent3a2ccdaa3d399971c8b67df271646860a4327f27 (diff)
downloadatril-6bccceb6b8573f9967331dde0a70cabeaccb6f44.tar.bz2
atril-6bccceb6b8573f9967331dde0a70cabeaccb6f44.tar.xz
Merge branch 'master' of github.com:mate-desktop/atril
Diffstat (limited to 'backend/comics')
-rw-r--r--backend/comics/comics-document.c15
1 files changed, 1 insertions, 14 deletions
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 <glib/gstdio.h>
#include <gio/gio.h>
-#ifdef G_OS_WIN32
-# define WIFEXITED(x) ((x) != 3)
-# define WEXITSTATUS(x) (x)
-#else
-# include <sys/wait.h>
-#endif
+#include <sys/wait.h>
#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
{