[Pcre-svn] [860] code/trunk: Make pcre2_internal.h idempoten…

Inizio della pagina
Delete this message
Autore: Subversion repository
Data:  
To: pcre-svn
Oggetto: [Pcre-svn] [860] code/trunk: Make pcre2_internal.h idempotent.
Revision: 860
          http://www.exim.org/viewvc/pcre2?view=rev&revision=860
Author:   ph10
Date:     2017-09-13 10:07:00 +0100 (Wed, 13 Sep 2017)
Log Message:
-----------
Make pcre2_internal.h idempotent.


Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/src/pcre2_internal.h


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2017-09-12 16:50:01 UTC (rev 859)
+++ code/trunk/ChangeLog    2017-09-13 09:07:00 UTC (rev 860)
@@ -11,7 +11,9 @@
 (which got a lot more complicated by change 10.30/49) by a single subroutine
 that is called by both pcre2_match() and pcre2_dfa_match().


+3. Add idempotent guard to pcre2_internal.h.

+
Version 10.30 14-August-2017
----------------------------


Modified: code/trunk/src/pcre2_internal.h
===================================================================
--- code/trunk/src/pcre2_internal.h    2017-09-12 16:50:01 UTC (rev 859)
+++ code/trunk/src/pcre2_internal.h    2017-09-13 09:07:00 UTC (rev 860)
@@ -38,6 +38,9 @@
 -----------------------------------------------------------------------------
 */


+#ifndef PCRE2_INTERNAL_H_IDEMPOTENT_GUARD
+#define PCRE2_INTERNAL_H_IDEMPOTENT_GUARD
+
 /* We do not support both EBCDIC and Unicode at the same time. The "configure"
 script prevents both being selected, but not everybody uses "configure". EBCDIC
 is only supported for the 8-bit library, but the check for this has to be later
@@ -1973,5 +1976,6 @@
                       uint32_t *, BOOL);
 extern BOOL         _pcre2_xclass(uint32_t, PCRE2_SPTR, BOOL);
 #endif  /* PCRE2_CODE_UNIT_WIDTH */
+#endif  /* PCRE2_INTERNAL_H_IDEMPOTENT_GUARD */


/* End of pcre2_internal.h */