From 8ab43349456d76eb383dee702a9da7269303f359 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 18 Apr 2016 16:53:34 +0200 Subject: [PATCH] if -> ifdef --- .../scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c | 2 +- src/libsodium/crypto_stream/aes128ctr/portable/int128.h | 2 +- src/libsodium/include/sodium/crypto_aead_aes256gcm.h | 2 +- src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h | 2 +- src/libsodium/include/sodium/crypto_auth.h | 2 +- src/libsodium/include/sodium/crypto_auth_hmacsha256.h | 2 +- src/libsodium/include/sodium/crypto_auth_hmacsha512.h | 2 +- src/libsodium/include/sodium/crypto_auth_hmacsha512256.h | 2 +- src/libsodium/include/sodium/crypto_box.h | 2 +- .../include/sodium/crypto_box_curve25519xsalsa20poly1305.h | 2 +- src/libsodium/include/sodium/crypto_generichash.h | 2 +- src/libsodium/include/sodium/crypto_generichash_blake2b.h | 2 +- src/libsodium/include/sodium/crypto_hash.h | 2 +- src/libsodium/include/sodium/crypto_hash_sha256.h | 2 +- src/libsodium/include/sodium/crypto_hash_sha512.h | 2 +- src/libsodium/include/sodium/crypto_onetimeauth.h | 2 +- src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h | 2 +- src/libsodium/include/sodium/crypto_pwhash.h | 2 +- src/libsodium/include/sodium/crypto_pwhash_argon2i.h | 2 +- .../include/sodium/crypto_pwhash_scryptsalsa208sha256.h | 2 +- src/libsodium/include/sodium/crypto_secretbox.h | 2 +- .../include/sodium/crypto_secretbox_xsalsa20poly1305.h | 2 +- src/libsodium/include/sodium/crypto_shorthash.h | 2 +- src/libsodium/include/sodium/crypto_shorthash_siphash24.h | 2 +- src/libsodium/include/sodium/crypto_sign.h | 2 +- src/libsodium/include/sodium/crypto_sign_ed25519.h | 2 +- .../include/sodium/crypto_sign_edwards25519sha512batch.h | 2 +- src/libsodium/include/sodium/crypto_stream.h | 2 +- src/libsodium/include/sodium/crypto_stream_aes128ctr.h | 2 +- src/libsodium/include/sodium/crypto_stream_chacha20.h | 2 +- src/libsodium/include/sodium/crypto_stream_salsa20.h | 2 +- src/libsodium/include/sodium/crypto_stream_salsa2012.h | 2 +- src/libsodium/include/sodium/crypto_stream_salsa208.h | 2 +- src/libsodium/include/sodium/crypto_stream_xsalsa20.h | 2 +- src/libsodium/include/sodium/randombytes.h | 2 +- 35 files changed, 35 insertions(+), 35 deletions(-) diff --git a/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c b/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c index 9baea813..4f5f4e86 100644 --- a/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c +++ b/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c @@ -30,7 +30,7 @@ #if defined(HAVE_EMMINTRIN_H) || \ (defined(_MSC_VER) && (defined(_M_X64) || defined(_M_AMD64) || defined(_M_IX86))) -#if __GNUC__ +#ifdef __GNUC__ # pragma GCC target("sse2") #endif #include diff --git a/src/libsodium/crypto_stream/aes128ctr/portable/int128.h b/src/libsodium/crypto_stream/aes128ctr/portable/int128.h index 3fd2111d..91e8e45f 100644 --- a/src/libsodium/crypto_stream/aes128ctr/portable/int128.h +++ b/src/libsodium/crypto_stream/aes128ctr/portable/int128.h @@ -6,7 +6,7 @@ #include "common.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif #endif diff --git a/src/libsodium/include/sodium/crypto_aead_aes256gcm.h b/src/libsodium/include/sodium/crypto_aead_aes256gcm.h index d7be4848..6df68cf1 100644 --- a/src/libsodium/include/sodium/crypto_aead_aes256gcm.h +++ b/src/libsodium/include/sodium/crypto_aead_aes256gcm.h @@ -5,7 +5,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h b/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h index 8ee5e42d..6fe4cf06 100644 --- a/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h +++ b/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h @@ -5,7 +5,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_auth.h b/src/libsodium/include/sodium/crypto_auth.h index 30094eec..ddb73b0c 100644 --- a/src/libsodium/include/sodium/crypto_auth.h +++ b/src/libsodium/include/sodium/crypto_auth.h @@ -7,7 +7,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_auth_hmacsha256.h b/src/libsodium/include/sodium/crypto_auth_hmacsha256.h index 1e88112c..c3fbf3cf 100644 --- a/src/libsodium/include/sodium/crypto_auth_hmacsha256.h +++ b/src/libsodium/include/sodium/crypto_auth_hmacsha256.h @@ -6,7 +6,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_auth_hmacsha512.h b/src/libsodium/include/sodium/crypto_auth_hmacsha512.h index 3341b2db..7386c15a 100644 --- a/src/libsodium/include/sodium/crypto_auth_hmacsha512.h +++ b/src/libsodium/include/sodium/crypto_auth_hmacsha512.h @@ -6,7 +6,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_auth_hmacsha512256.h b/src/libsodium/include/sodium/crypto_auth_hmacsha512256.h index af8018ea..c205b7dd 100644 --- a/src/libsodium/include/sodium/crypto_auth_hmacsha512256.h +++ b/src/libsodium/include/sodium/crypto_auth_hmacsha512256.h @@ -6,7 +6,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_box.h b/src/libsodium/include/sodium/crypto_box.h index 473f922d..a8a6db07 100644 --- a/src/libsodium/include/sodium/crypto_box.h +++ b/src/libsodium/include/sodium/crypto_box.h @@ -14,7 +14,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_box_curve25519xsalsa20poly1305.h b/src/libsodium/include/sodium/crypto_box_curve25519xsalsa20poly1305.h index b18be201..9b5a39c3 100644 --- a/src/libsodium/include/sodium/crypto_box_curve25519xsalsa20poly1305.h +++ b/src/libsodium/include/sodium/crypto_box_curve25519xsalsa20poly1305.h @@ -5,7 +5,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_generichash.h b/src/libsodium/include/sodium/crypto_generichash.h index 60d46524..998d860d 100644 --- a/src/libsodium/include/sodium/crypto_generichash.h +++ b/src/libsodium/include/sodium/crypto_generichash.h @@ -7,7 +7,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_generichash_blake2b.h b/src/libsodium/include/sodium/crypto_generichash_blake2b.h index 3998e1bd..d86c4429 100644 --- a/src/libsodium/include/sodium/crypto_generichash_blake2b.h +++ b/src/libsodium/include/sodium/crypto_generichash_blake2b.h @@ -8,7 +8,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_hash.h b/src/libsodium/include/sodium/crypto_hash.h index bc24a78b..302ed5c5 100644 --- a/src/libsodium/include/sodium/crypto_hash.h +++ b/src/libsodium/include/sodium/crypto_hash.h @@ -14,7 +14,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_hash_sha256.h b/src/libsodium/include/sodium/crypto_hash_sha256.h index 1bb816f4..14115c0f 100644 --- a/src/libsodium/include/sodium/crypto_hash_sha256.h +++ b/src/libsodium/include/sodium/crypto_hash_sha256.h @@ -15,7 +15,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_hash_sha512.h b/src/libsodium/include/sodium/crypto_hash_sha512.h index 12df0334..ba8864bd 100644 --- a/src/libsodium/include/sodium/crypto_hash_sha512.h +++ b/src/libsodium/include/sodium/crypto_hash_sha512.h @@ -15,7 +15,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_onetimeauth.h b/src/libsodium/include/sodium/crypto_onetimeauth.h index 5d804bd7..bc2dd86c 100644 --- a/src/libsodium/include/sodium/crypto_onetimeauth.h +++ b/src/libsodium/include/sodium/crypto_onetimeauth.h @@ -7,7 +7,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h b/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h index 2c0fd157..6bf9221e 100644 --- a/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h +++ b/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h @@ -5,7 +5,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_pwhash.h b/src/libsodium/include/sodium/crypto_pwhash.h index 30d38e87..c947090e 100644 --- a/src/libsodium/include/sodium/crypto_pwhash.h +++ b/src/libsodium/include/sodium/crypto_pwhash.h @@ -7,7 +7,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_pwhash_argon2i.h b/src/libsodium/include/sodium/crypto_pwhash_argon2i.h index 3fbf6b00..8c7860e0 100644 --- a/src/libsodium/include/sodium/crypto_pwhash_argon2i.h +++ b/src/libsodium/include/sodium/crypto_pwhash_argon2i.h @@ -6,7 +6,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_pwhash_scryptsalsa208sha256.h b/src/libsodium/include/sodium/crypto_pwhash_scryptsalsa208sha256.h index 165f318d..cfa95d79 100644 --- a/src/libsodium/include/sodium/crypto_pwhash_scryptsalsa208sha256.h +++ b/src/libsodium/include/sodium/crypto_pwhash_scryptsalsa208sha256.h @@ -7,7 +7,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_secretbox.h b/src/libsodium/include/sodium/crypto_secretbox.h index db68fab1..b535d9c0 100644 --- a/src/libsodium/include/sodium/crypto_secretbox.h +++ b/src/libsodium/include/sodium/crypto_secretbox.h @@ -7,7 +7,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_secretbox_xsalsa20poly1305.h b/src/libsodium/include/sodium/crypto_secretbox_xsalsa20poly1305.h index a80f5b50..338347c5 100644 --- a/src/libsodium/include/sodium/crypto_secretbox_xsalsa20poly1305.h +++ b/src/libsodium/include/sodium/crypto_secretbox_xsalsa20poly1305.h @@ -5,7 +5,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_shorthash.h b/src/libsodium/include/sodium/crypto_shorthash.h index 5458b9c3..78732808 100644 --- a/src/libsodium/include/sodium/crypto_shorthash.h +++ b/src/libsodium/include/sodium/crypto_shorthash.h @@ -7,7 +7,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_shorthash_siphash24.h b/src/libsodium/include/sodium/crypto_shorthash_siphash24.h index a2cab0c1..181b5ee7 100644 --- a/src/libsodium/include/sodium/crypto_shorthash_siphash24.h +++ b/src/libsodium/include/sodium/crypto_shorthash_siphash24.h @@ -5,7 +5,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_sign.h b/src/libsodium/include/sodium/crypto_sign.h index ad390a76..556f0e90 100644 --- a/src/libsodium/include/sodium/crypto_sign.h +++ b/src/libsodium/include/sodium/crypto_sign.h @@ -14,7 +14,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_sign_ed25519.h b/src/libsodium/include/sodium/crypto_sign_ed25519.h index 3c55d41d..ee89db8b 100644 --- a/src/libsodium/include/sodium/crypto_sign_ed25519.h +++ b/src/libsodium/include/sodium/crypto_sign_ed25519.h @@ -5,7 +5,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h b/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h index 8dadf5a2..2224a94e 100644 --- a/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h +++ b/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h @@ -16,7 +16,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_stream.h b/src/libsodium/include/sodium/crypto_stream.h index b0c6c41a..734dd579 100644 --- a/src/libsodium/include/sodium/crypto_stream.h +++ b/src/libsodium/include/sodium/crypto_stream.h @@ -15,7 +15,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_stream_aes128ctr.h b/src/libsodium/include/sodium/crypto_stream_aes128ctr.h index 29133196..71b0fa47 100644 --- a/src/libsodium/include/sodium/crypto_stream_aes128ctr.h +++ b/src/libsodium/include/sodium/crypto_stream_aes128ctr.h @@ -13,7 +13,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_stream_chacha20.h b/src/libsodium/include/sodium/crypto_stream_chacha20.h index 507e9b0c..73f32540 100644 --- a/src/libsodium/include/sodium/crypto_stream_chacha20.h +++ b/src/libsodium/include/sodium/crypto_stream_chacha20.h @@ -14,7 +14,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_stream_salsa20.h b/src/libsodium/include/sodium/crypto_stream_salsa20.h index 1c06512b..a2593d54 100644 --- a/src/libsodium/include/sodium/crypto_stream_salsa20.h +++ b/src/libsodium/include/sodium/crypto_stream_salsa20.h @@ -14,7 +14,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_stream_salsa2012.h b/src/libsodium/include/sodium/crypto_stream_salsa2012.h index 6fcf436f..a90f0da9 100644 --- a/src/libsodium/include/sodium/crypto_stream_salsa2012.h +++ b/src/libsodium/include/sodium/crypto_stream_salsa2012.h @@ -13,7 +13,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_stream_salsa208.h b/src/libsodium/include/sodium/crypto_stream_salsa208.h index a8fd2cef..00ae7e2b 100644 --- a/src/libsodium/include/sodium/crypto_stream_salsa208.h +++ b/src/libsodium/include/sodium/crypto_stream_salsa208.h @@ -13,7 +13,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/crypto_stream_xsalsa20.h b/src/libsodium/include/sodium/crypto_stream_xsalsa20.h index c09425a0..f142005c 100644 --- a/src/libsodium/include/sodium/crypto_stream_xsalsa20.h +++ b/src/libsodium/include/sodium/crypto_stream_xsalsa20.h @@ -14,7 +14,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" { diff --git a/src/libsodium/include/sodium/randombytes.h b/src/libsodium/include/sodium/randombytes.h index 08aff052..edec3f5f 100644 --- a/src/libsodium/include/sodium/randombytes.h +++ b/src/libsodium/include/sodium/randombytes.h @@ -10,7 +10,7 @@ #include "export.h" #ifdef __cplusplus -# if __GNUC__ +# ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wlong-long" # endif extern "C" {