diff options
author | Emily Trau <me@angus.ws> | 2023-04-06 14:57:52 +1000 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2023-04-06 10:26:21 -0400 |
commit | 332bb8a2999f9bb4115ce518126873612862e87a (patch) | |
tree | 33aba3c99d792b5707a987412e6fdc08db06fe72 /Userland/Libraries/LibEDID | |
parent | cfaa51203f804a0e306b3d49273560516a515782 (diff) | |
download | serenity-332bb8a2999f9bb4115ce518126873612862e87a.zip |
LibEDID: Fix compiler error when ENABLE_PNP_IDS_DOWNLOAD=OFF
Diffstat (limited to 'Userland/Libraries/LibEDID')
-rw-r--r-- | Userland/Libraries/LibEDID/EDID.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibEDID/EDID.cpp b/Userland/Libraries/LibEDID/EDID.cpp index 595fd12d0c..91501bcde1 100644 --- a/Userland/Libraries/LibEDID/EDID.cpp +++ b/Userland/Libraries/LibEDID/EDID.cpp @@ -18,7 +18,7 @@ # include <fcntl.h> # include <unistd.h> -# ifdef ENABLE_PNP_IDS_DATA +# if ENABLE_PNP_IDS_DATA # include <LibEDID/PnpIDs.h> # endif #endif @@ -425,7 +425,7 @@ DeprecatedString Parser::manufacturer_name() const if (!m_legacy_manufacturer_id_valid) return "Unknown"; auto manufacturer_id = legacy_manufacturer_id(); -# ifdef ENABLE_PNP_IDS_DATA +# if ENABLE_PNP_IDS_DATA if (auto pnp_id_data = PnpIDs::find_by_manufacturer_id(manufacturer_id); pnp_id_data.has_value()) return pnp_id_data.value().manufacturer_name; # endif |