diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-08-30 11:36:24 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-08-30 11:36:24 +0200 |
commit | ae325ec6ce3998b3dd38fc2ad7763857cd4c140f (patch) | |
tree | 957911b8185c51f0ad2caf43f2124552bca6db9f /include/my_valgrind.h | |
parent | d99b8004e6b46e2a1b321bf50825254bf841cddb (diff) | |
download | mariadb-git-ae325ec6ce3998b3dd38fc2ad7763857cd4c140f.tar.gz |
Compile 10.0 on Windows
Diffstat (limited to 'include/my_valgrind.h')
-rw-r--r-- | include/my_valgrind.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_valgrind.h b/include/my_valgrind.h index d32b1f78e15..49da89ab78c 100644 --- a/include/my_valgrind.h +++ b/include/my_valgrind.h @@ -39,7 +39,7 @@ #ifndef DBUG_OFF #define TRASH_FILL(A,B,C) do { const size_t trash_tmp= (B) ; bfill(A, trash_tmp, C); MEM_UNDEFINED(A, trash_tmp); } while (0) #else -#define TRASH_FILL(A,B,C) do{ const size_t trash_tmp __attribute((unused)) = (B) ; MEM_CHECK_ADDRESSABLE(A,trash_tmp);MEM_UNDEFINED(A,trash_tmp);} while (0) +#define TRASH_FILL(A,B,C) do{ const size_t trash_tmp __attribute__((unused)) = (B) ; MEM_CHECK_ADDRESSABLE(A,trash_tmp);MEM_UNDEFINED(A,trash_tmp);} while (0) #endif #define TRASH_ALLOC(A,B) TRASH_FILL(A,B,0xA5) #define TRASH_FREE(A,B) TRASH_FILL(A,B,0x8F) |