From 1290f9ba6cc51fbacd6b09c28a59632493611d61 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Thu, 3 Mar 2011 03:06:49 +0000 Subject: [PATCH] Don't check for NS_IMAGELIB_ERROR_LOAD_ABORTED if it's not defined --- videolink.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.2