diff options
author | raveit65 <[email protected]> | 2016-06-02 16:11:53 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-06-02 16:11:53 +0200 |
commit | 6bccceb6b8573f9967331dde0a70cabeaccb6f44 (patch) | |
tree | e6cb07dd3d4241482f9598bc9686541de05557a9 /backend/comics | |
parent | 3551d1c5e7fff4665b12b607f87529995307338c (diff) | |
parent | 3a2ccdaa3d399971c8b67df271646860a4327f27 (diff) | |
download | atril-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.c | 15 |
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 { |