GMPSanitizedExports.h (917B)
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* vim: set ts=2 et sw=2 tw=80: */ 3 /* This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ 6 7 // This file exposes symbols from the CDM headers + undefines macros which 8 // X11 defines and which clash with the CDM headers. 9 // 10 // Ideally we can prune where X11 headers are included so that we don't need 11 // this, but this band aid is useful until then. 12 13 #ifndef DOM_MEDIA_GMP_GMP_API_GMP_SANITIZED_CDM_EXPORTS_H_ 14 #define DOM_MEDIA_GMP_GMP_API_GMP_SANITIZED_CDM_EXPORTS_H_ 15 16 // If Status is defined undef it so we don't break the CDM headers. 17 #ifdef Status 18 # undef Status 19 #endif // Status 20 #include "content_decryption_module.h" 21 22 #endif // DOM_MEDIA_GMP_GMP_API_GMP_SANITIZED_CDM_EXPORTS_H_