From: Ben Hutchings Date: Thu, 3 Mar 2011 03:06:49 +0000 (+0000) Subject: Don't check for NS_IMAGELIB_ERROR_LOAD_ABORTED if it's not defined X-Git-Tag: 1.2.11~8 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=videolink.git;a=commitdiff_plain;h=1290f9ba6cc51fbacd6b09c28a59632493611d61 Don't check for NS_IMAGELIB_ERROR_LOAD_ABORTED if it's not defined --- diff --git a/videolink.cpp b/videolink.cpp index 2a1295b..173b0dc 100644 --- a/videolink.cpp +++ b/videolink.cpp @@ -423,7 +423,9 @@ namespace { // Check whether the load was successful, ignoring this // pseudo-error. +#ifdef NS_IMAGELIB_ERROR_LOAD_ABORTED if (status != NS_IMAGELIB_ERROR_LOAD_ABORTED) +#endif check(status); pending_window_update_ = false;