From c1e1a84c8258088b13b9d1b53019b5affa6289ec Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sat, 26 Aug 2017 17:01:59 +0200 Subject: [PATCH] examples: Indent preprocessor code --- expat/examples/elements.c | 22 +++++++++++----------- expat/examples/outline.c | 16 ++++++++-------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/expat/examples/elements.c b/expat/examples/elements.c index 56e5756b..31d52c33 100644 --- a/expat/examples/elements.c +++ b/expat/examples/elements.c @@ -38,22 +38,22 @@ #include #ifdef XML_LARGE_SIZE -#if defined(XML_USE_MSC_EXTENSIONS) && _MSC_VER < 1400 -#define XML_FMT_INT_MOD "I64" +# if defined(XML_USE_MSC_EXTENSIONS) && _MSC_VER < 1400 +# define XML_FMT_INT_MOD "I64" +# else +# define XML_FMT_INT_MOD "ll" +# endif #else -#define XML_FMT_INT_MOD "ll" -#endif -#else -#define XML_FMT_INT_MOD "l" +# define XML_FMT_INT_MOD "l" #endif #ifdef XML_UNICODE_WCHAR_T -#include -#define XML_FMT_STR "ls" -#define xcputs(s) do { fputws((s), stdout); putchar('\n'); } while (0) +# include +# define XML_FMT_STR "ls" +# define xcputs(s) do { fputws((s), stdout); putchar('\n'); } while (0) #else -#define XML_FMT_STR "s" -#define xcputs(s) puts(s) +# define XML_FMT_STR "s" +# define xcputs(s) puts(s) #endif static void XMLCALL diff --git a/expat/examples/outline.c b/expat/examples/outline.c index fd2535d3..3e0bbaa4 100644 --- a/expat/examples/outline.c +++ b/expat/examples/outline.c @@ -36,19 +36,19 @@ #include #ifdef XML_LARGE_SIZE -#if defined(XML_USE_MSC_EXTENSIONS) && _MSC_VER < 1400 -#define XML_FMT_INT_MOD "I64" +# if defined(XML_USE_MSC_EXTENSIONS) && _MSC_VER < 1400 +# define XML_FMT_INT_MOD "I64" +# else +# define XML_FMT_INT_MOD "ll" +# endif #else -#define XML_FMT_INT_MOD "ll" -#endif -#else -#define XML_FMT_INT_MOD "l" +# define XML_FMT_INT_MOD "l" #endif #ifdef XML_UNICODE_WCHAR_T -#define XML_FMT_STR "ls" +# define XML_FMT_STR "ls" #else -#define XML_FMT_STR "s" +# define XML_FMT_STR "s" #endif #define BUFFSIZE 8192 -- 2.40.0