| commit | 13241c66a2380c7223435684ff96d068b4e2de05 | [log] [tgz] |
|---|---|---|
| author | Anthony Vallee-Dubois <anthonyvd@google.com> | Mon Aug 17 14:12:32 2015 -0400 |
| committer | Nicolas Capens <capn@google.com> | Fri Aug 12 18:26:28 2016 +0000 |
| tree | f0c7253d72d1987cb3343534ec33091a754a75e2 | |
| parent | 204ec08770fb7a38d7ac66417b7d67b6bcd479f9 [diff] [blame] |
Make memory for generated routines non-writable. This change also fixes a missing include for memcmp(). Bug 14642677 Change-Id: I4207d259b9d7b20e0cb35ded65bacd5c2d882087 Reviewed-on: https://swiftshader-review.googlesource.com/3884 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
diff --git a/src/OpenGL/libEGL/Config.cpp b/src/OpenGL/libEGL/Config.cpp index 835b198..d78d3db 100644 --- a/src/OpenGL/libEGL/Config.cpp +++ b/src/OpenGL/libEGL/Config.cpp
@@ -27,6 +27,7 @@ #include <string.h> #include <algorithm> +#include <cstring> #include <vector> using namespace std;