From: Daniel Carl Date: Thu, 16 Jan 2014 23:28:38 +0000 (+0100) Subject: Allow to compile with libsoup<2.42.2 (#49). X-Git-Url: https://git.owens.tech/about.html/about.html/git?a=commitdiff_plain;h=71caa6979e674c5b08a5e4ef928a8e11552e41dc;p=vimb.git Allow to compile with libsoup<2.42.2 (#49). --- diff --git a/src/main.h b/src/main.h index ccf09b3..7c2f5c3 100644 --- a/src/main.h +++ b/src/main.h @@ -104,6 +104,10 @@ #define VB_WIDGET_SET_STATE(w, s) (gtk_widget_set_state(w, s)) #endif +#ifndef SOUP_CHECK_VERSION +#define SOUP_CHECK_VERSION(major, minor, micro) (0) +#endif + /* the special mark ' must be the first in the list for easiest lookup */ #define VB_MARK_CHARS "'abcdefghijklmnopqrstuvwxyz" #define VB_MARK_TICK 0