Commit 318d5e03 by Nicolas Capens Committed by Nicolas Capens

Replace <memory.h> with <cstring>.

<memory.h> isn't actually an official standard C header. memcpy() is defined in <string.h> / <cstring>. Change-Id: I578e3a8ea741934e594049e359b906665de80134 Reviewed-on: https://swiftshader-review.googlesource.com/c/22649Tested-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
parent 70c41989
......@@ -19,8 +19,7 @@
#include "Pipeline/PixelRoutine.hpp"
#include "System/Debug.hpp"
#include <memory.h>
#include <string.h>
#include <cstring>
namespace sw
{
......
......@@ -17,7 +17,7 @@
#include "System/Math.hpp"
#include "System/Half.hpp"
#include <memory.h>
#include <cstring>
namespace sw
{
......
......@@ -30,7 +30,7 @@
#include <unistd.h>
#endif
#include <memory.h>
#include <cstring>
#undef allocate
#undef deallocate
......
......@@ -15,7 +15,8 @@
#include "VkBuffer.hpp"
#include "VkConfig.h"
#include "VkDeviceMemory.hpp"
#include <memory.h>
#include <cstring>
namespace vk
{
......
......@@ -14,7 +14,8 @@
#include "VkPhysicalDevice.hpp"
#include "VkConfig.h"
#include <memory.h>
#include <cstring>
namespace vk
{
......
......@@ -13,7 +13,8 @@
// limitations under the License.
#include "VkShaderModule.hpp"
#include <memory.h>
#include <cstring>
namespace vk
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment