提交 f2adbd85 编写于 作者: R Rich Salz 提交者: Rich Salz

Fix indents

Reviewed-by: NAndy Polyakov <appro@openssl.org>
上级 6a99fde4
...@@ -23,19 +23,15 @@ extern "C" { ...@@ -23,19 +23,15 @@ extern "C" {
} }
foreach (@{$config{openssl_api_defines}}) { foreach (@{$config{openssl_api_defines}}) {
(my $macro, my $value) = $_ =~ /^(.*?)=(.*?)$/; (my $macro, my $value) = $_ =~ /^(.*?)=(.*?)$/;
$OUT .= "# define OPENSSL_MIN_API $value\n"; $OUT .= "#define OPENSSL_MIN_API $value\n";
} }
if (@{$config{openssl_algorithm_defines}}) { if (@{$config{openssl_algorithm_defines}}) {
foreach (@{$config{openssl_algorithm_defines}}) { foreach (@{$config{openssl_algorithm_defines}}) {
$OUT .= "# ifndef $_\n"; $OUT .= "#ifndef $_\n";
$OUT .= "# define $_\n"; $OUT .= "# define $_\n";
$OUT .= "# endif\n"; $OUT .= "#endif\n";
} }
} }
"";
-}
{-
if (@{$config{openssl_thread_defines}}) { if (@{$config{openssl_thread_defines}}) {
foreach (@{$config{openssl_thread_defines}}) { foreach (@{$config{openssl_thread_defines}}) {
$OUT .= "#ifndef $_\n"; $OUT .= "#ifndef $_\n";
...@@ -74,13 +70,13 @@ extern "C" { ...@@ -74,13 +70,13 @@ extern "C" {
#endif #endif
#ifndef OPENSSL_FILE #ifndef OPENSSL_FILE
#ifdef OPENSSL_NO_FILENAMES # ifdef OPENSSL_NO_FILENAMES
#define OPENSSL_FILE "" # define OPENSSL_FILE ""
#define OPENSSL_LINE 0 # define OPENSSL_LINE 0
#else # else
#define OPENSSL_FILE __FILE__ # define OPENSSL_FILE __FILE__
#define OPENSSL_LINE __LINE__ # define OPENSSL_LINE __LINE__
#endif # endif
#endif #endif
#ifndef OPENSSL_MIN_API #ifndef OPENSSL_MIN_API
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册