patch-match_c 744 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-match_c,v 1.4 2013/11/29 15:56:44 naddy Exp $
  2. --- match.c.orig Sun Jan 9 13:31:13 2011
  3. +++ match.c Thu Nov 28 13:27:59 2013
  4. @@ -9,7 +9,7 @@
  5. #include "ytree.h"
  6. -#if defined( sun ) || defined( linux ) || defined( __NeXT__ ) || defined( OSF1 ) || defined( __OpenBSD__ ) || defined(__NetBSD__) || defined( __FreeBSD__ ) || defined( __GNU__ )
  7. +#if defined( sun ) || defined( linux ) || defined( __NeXT__ ) || defined( OSF1 ) || defined(__NetBSD__) || defined( __FreeBSD__ ) || defined( __GNU__ )
  8. #define HAS_REGEX
  9. #endif
  10. @@ -19,7 +19,7 @@
  11. #define _REGEX_RE_COMP
  12. #endif
  13. -#if defined( hpux ) || defined ( __APPLE__ )
  14. +#if defined( hpux ) || defined ( __APPLE__ ) || defined( __OpenBSD__ )
  15. #define HAS_REGCOMP
  16. #endif