diff --git a/gfx/src/ps/nsRenderingContextPS.cpp b/gfx/src/ps/nsRenderingContextPS.cpp index 77ec4505158d..d0e4ead033cb 100644 --- a/gfx/src/ps/nsRenderingContextPS.cpp +++ b/gfx/src/ps/nsRenderingContextPS.cpp @@ -414,7 +414,7 @@ PRInt32 cliptype; NS_ASSERTION(FALSE, "illegal clip combination"); } -#ifdef XP_PC +#if defined(XP_PC) && !defined(XP_OS2) if (cliptype == NULLREGION) aClipEmpty = PR_TRUE; else