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