summaryrefslogtreecommitdiff
path: root/src/google/malloc_hook_c.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/google/malloc_hook_c.h')
-rw-r--r--src/google/malloc_hook_c.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/google/malloc_hook_c.h b/src/google/malloc_hook_c.h
index e3ac0a4..f882c16 100644
--- a/src/google/malloc_hook_c.h
+++ b/src/google/malloc_hook_c.h
@@ -31,4 +31,7 @@
/* The code has moved to gperftools/. Use that include-directory for
* new code.
*/
+#ifdef __GNUC__
+#warning "google/malloc_hook_c.h is deprecated. Use gperftools/malloc_hook_c.h instead"
+#endif
#include <gperftools/malloc_hook_c.h>