Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd7bf125 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Force null_driver.cpp to use _FORTIFY_SOURCE=2" into main

parents 2c7e3aa7 3d041bcc
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -14,6 +14,11 @@
 * limitations under the License.
 */

// (b/291762537): This code uses malloc_usable_size(), and thus can't be
// built with _FORTIFY_SOURCE=3.
#undef _FORTIFY_SOURCE
#define _FORTIFY_SOURCE 2

#include <android/hardware_buffer.h>
#include <hardware/hwvulkan.h>