diff options
author | Aliaksey Kandratsenka <alk@tut.by> | 2014-03-01 12:13:02 -0800 |
---|---|---|
committer | Aliaksey Kandratsenka <alk@tut.by> | 2014-04-01 22:06:22 -0700 |
commit | d77317247e1c8de1ea4e0419318b26f636e64431 (patch) | |
tree | 33948d8b5a1bcd3f3382bbed20d618a45a60432e /src/google/malloc_hook_c.h | |
parent | e7297f0c14b0c09ec52707ed7477c7aee43a1882 (diff) | |
download | gperftools-d77317247e1c8de1ea4e0419318b26f636e64431.tar.gz |
issue deprecation warning on use of google/ headers
Diffstat (limited to 'src/google/malloc_hook_c.h')
-rw-r--r-- | src/google/malloc_hook_c.h | 3 |
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> |