diff options
author | Victor Costan <costan@google.com> | 2020-04-29 19:32:47 +0000 |
---|---|---|
committer | Victor Costan <costan@google.com> | 2020-04-29 19:38:03 +0000 |
commit | 5417da69b7e150bcfb9c18304c0aa95d8caf7f34 (patch) | |
tree | a98189eb5c71da384d9c3238573058720701fd91 /snappy.h | |
parent | 251d935d5096da77c4fef26ea41b019430da5572 (diff) | |
download | snappy-git-5417da69b7e150bcfb9c18304c0aa95d8caf7f34.tar.gz |
Switch from C headers to C++ headers.
This CL makes the following substitutions.
* assert.h -> cassert
* math.h -> cmath
* stdarg.h -> cstdarg
* stdio.h -> cstdio
* stdlib.h -> cstdlib
* string.h -> cstring
stddef.h and stdint.h are not migrated to C++ headers.
PiperOrigin-RevId: 309074805
Diffstat (limited to 'snappy.h')
-rw-r--r-- | snappy.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -39,8 +39,9 @@ #ifndef THIRD_PARTY_SNAPPY_SNAPPY_H__ #define THIRD_PARTY_SNAPPY_SNAPPY_H__ -#include <cstddef> -#include <cstdint> +#include <stddef.h> +#include <stdint.h> + #include <string> #include "snappy-stubs-public.h" |