diff options
author | monsta <[email protected]> | 2016-06-01 11:20:57 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-06-01 11:27:13 +0300 |
commit | 415e00e359d2114a215289b4cf4c88368f232ba7 (patch) | |
tree | c07cfe65e6baff3a124b96a96641b483fde4e234 /backend/comics | |
parent | edae80f9c5b8082b86e1cbd60cfee9c79d7e23ba (diff) | |
download | atril-415e00e359d2114a215289b4cf4c88368f232ba7.tar.bz2 atril-415e00e359d2114a215289b4cf4c88368f232ba7.tar.xz |
backend: drop some win32-specific stuff
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 { |