From b24e111d001aea593e87b4b55c77b8a050691202 Mon Sep 17 00:00:00 2001 From: Jan Vorlicek Date: Tue, 18 Oct 2016 03:53:27 +0200 Subject: [PATCH] Fix memcpy undef (#7675) This change fixes a memcpy #undef in the palinternal.h. It was undefed only for non-debug builds, but it needs to be undefed for debug build as well. The non-debug undef covers the case where memcpy is defined as DUMMY_memcpy, but doesn't cover the debug case where memcpy is defined as PAL_memcpy. --- src/pal/src/include/pal/palinternal.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pal/src/include/pal/palinternal.h b/src/pal/src/include/pal/palinternal.h index 823e3db..88d47bb 100644 --- a/src/pal/src/include/pal/palinternal.h +++ b/src/pal/src/include/pal/palinternal.h @@ -348,9 +348,7 @@ function_name() to call the system's implementation #undef atexit #undef div #undef div_t -#if !defined(_DEBUG) #undef memcpy -#endif //!defined(_DEBUG) #undef memcmp #undef memset #undef memmove -- 2.7.4