From 752fa34d66d26662b62fc5bb2c056a3a7be585ff Mon Sep 17 00:00:00 2001 From: jun7 Date: Tue, 22 May 2018 15:43:05 +0900 Subject: [PATCH] Fix wrong pos of define --- ab.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ab.c b/ab.c index 17e4d00..9feaf32 100644 --- a/ab.c +++ b/ab.c @@ -19,8 +19,6 @@ along with wyebadblock. If not, see . #include "wyebrun.h" -#define EXE "wyebab" - #if DEBUG # define D(f, ...) g_print("#"#f"\n", __VA_ARGS__); # define DD(a) g_print("#"#a"\n"); @@ -29,8 +27,11 @@ along with wyebadblock. If not, see . # define DD(a) ; #endif + #if ISEXT +#define EXE "wyebab" + #include static bool first = true; static bool check(const char *requri, const char *pageuri) @@ -117,6 +118,8 @@ G_MODULE_EXPORT void webkit_web_extension_initialize_with_user_data( g_signal_connect(ex, "page-created", G_CALLBACK(pageinit), NULL); } + + #else #include "ephy-uri-tester.h"