summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/cpdfsdk_helpers.h')
-rw-r--r--fpdfsdk/cpdfsdk_helpers.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/cpdfsdk_helpers.h b/fpdfsdk/cpdfsdk_helpers.h
index 10f44e409a..ba54645de8 100644
--- a/fpdfsdk/cpdfsdk_helpers.h
+++ b/fpdfsdk/cpdfsdk_helpers.h
@@ -50,10 +50,10 @@ class CXFA_FFWidget;
// Object types for public FPDF_ types; these correspond to next layer down
// from fpdfsdk. For master, these are CPDF_ types, but for XFA, these are
// CPDFXFA_ types.
-#ifndef PDF_ENABLE_XFA
-using UnderlyingPageType = CPDF_Page;
-#else // PDF_ENABLE_XFA
+#ifdef PDF_ENABLE_XFA
using UnderlyingPageType = CPDFXFA_Page;
+#else // PDF_ENABLE_XFA
+using UnderlyingPageType = CPDF_Page;
#endif // PDF_ENABLE_XFA
// Conversions to/from underlying types.