diff options
author | Marco Poletti <poletti.marco@gmail.com> | 2018-08-27 10:46:27 +0100 |
---|---|---|
committer | Marco Poletti <poletti.marco@gmail.com> | 2018-08-27 10:46:47 +0100 |
commit | 066d68960683e0a450d77db0f4fb7d0472280e6a (patch) | |
tree | 5fce93ce60fa4a2179c506ea418e249cbff720cf /tests | |
parent | ecd9c29304635c7862ed22918682d6c07ee0176d (diff) | |
download | google-fruit-066d68960683e0a450d77db0f4fb7d0472280e6a.tar.gz |
Use #if instead of #ifdef for Fruit macros (apart from include guards).
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_macros.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_macros.h b/tests/test_macros.h index 8d850e1..3b35f76 100644 --- a/tests/test_macros.h +++ b/tests/test_macros.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef FRUIT_TEST_MACROS -#define FRUIT_TEST_MACROS +#ifndef FRUIT_TEST_MACROS_H +#define FRUIT_TEST_MACROS_H #include <iostream> @@ -33,4 +33,4 @@ (void)sizeof(__VA_ARGS__); \ } -#endif // FRUIT_TEST_MACROS +#endif // FRUIT_TEST_MACROS_H |