Skip to content

Commit

Permalink
perl.h: Reorder cpp branches
Browse files Browse the repository at this point in the history
Disposing of the trivial case first makes things easier to read.
  • Loading branch information
khwilliamson committed May 6, 2021
1 parent 85b2e33 commit ac1f0b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions perl.h
Expand Up @@ -6663,7 +6663,9 @@ the plain locale pragma without a parameter (S<C<use locale>>) is in effect.
|| (defined(HAS_MBTOWC) && ! defined(HAS_MBRTOWC)) \
|| (defined(HAS_WCTOMB) && ! defined(HAS_WCRTOMB))))

# ifdef USE_POSIX_2008_LOCALE
# ifndef USE_POSIX_2008_LOCALE
# define LOCALE_TERM_POSIX_2008_ NOOP
# else
/* We have a locale object holding the 'C' locale for Posix 2008 */
# define LOCALE_TERM_POSIX_2008_ \
STMT_START { \
Expand All @@ -6675,8 +6677,6 @@ the plain locale pragma without a parameter (S<C<use locale>>) is in effect.
PL_C_locale_obj = (locale_t) NULL; \
} \
} STMT_END
# else
# define LOCALE_TERM_POSIX_2008_ NOOP
# endif

# define LOCALE_INIT STMT_START { \
Expand Down

0 comments on commit ac1f0b2

Please sign in to comment.