diff --git a/gfx/thebes/src/gfxQuartzPDFSurface.cpp b/gfx/thebes/src/gfxQuartzPDFSurface.cpp index 97dae0c395f5..a04a8d9dae37 100644 --- a/gfx/thebes/src/gfxQuartzPDFSurface.cpp +++ b/gfx/thebes/src/gfxQuartzPDFSurface.cpp @@ -39,8 +39,7 @@ #include "cairo-nquartz.h" - -#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4 +#if defined(MAC_OS_X_VERSION_10_4) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4 #include #else /* stupid apple doesn't bother to include cups.h in anything lower than