]> Savannah Git Hosting - gnulib.git/commit
Use consistent style to check DEBUG macro in regex_internal.c
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Fri, 1 Aug 2014 02:04:42 +0000 (07:34 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Fri, 1 Aug 2014 02:07:45 +0000 (07:37 +0530)
commitd8401629f49fed515e7cab4cbb3a04d820969c1c
tree82a27ebb148acb5d7982c87a05531b4bc50c7aa5
parenta5f2a6d5c1682ea432e703ab30f82071b30ab30a
Use consistent style to check DEBUG macro in regex_internal.c

The DEBUG macro is checked using both #if and #ifdef in
regex_internal.c.  Make this consistent with mktime, where we use "#if
defined DEBUG && DEBUG", to be compatible with gnulib as well as glibc
style.

        regex: Make #if/#ifdef usage consistent for DEBUG
        * lib/regex_internal.c: Use "#if defined DEBUG && DEBUG" instead
        of the inconsistent usage of #if and #ifdef as that works with
        both Glibc and Gnulib's style.
ChangeLog
lib/regex_internal.c