diff --git a/public/fpdfview.h b/public/fpdfview.h
index 2b84f07ba..b6c0a356b 100644
--- a/public/fpdfview.h
+++ b/public/fpdfview.h
@@ -168,7 +168,6 @@ typedef int FPDF_OBJECT_TYPE;
 // Text object enums.
 typedef int FPDF_TEXT_RENDERMODE;
 
-#if defined(COMPONENT_BUILD)
 // FPDF_EXPORT should be consistent with |export| in the pdfium_fuzzer
 // template in testing/fuzzers/BUILD.gn.
 #if defined(WIN32)
@@ -184,9 +183,6 @@ typedef int FPDF_TEXT_RENDERMODE;
 #define FPDF_EXPORT
 #endif  // defined(FPDF_IMPLEMENTATION)
 #endif  // defined(WIN32)
-#else
-#define FPDF_EXPORT
-#endif  // defined(COMPONENT_BUILD)
 
 #if defined(WIN32) && defined(FPDFSDK_EXPORTS)
 #define FPDF_CALLCONV __stdcall
