/[pcre]/code/trunk/pcre_version.c
ViewVC logotype

Diff of /code/trunk/pcre_version.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 199 by ph10, Tue Jul 31 14:39:09 2007 UTC revision 359 by ph10, Wed Jul 9 16:20:19 2008 UTC
# Line 6  Line 6 
6  and semantics are as close as possible to those of the Perl 5 language.  and semantics are as close as possible to those of the Perl 5 language.
7    
8                         Written by Philip Hazel                         Written by Philip Hazel
9             Copyright (c) 1997-2007 University of Cambridge             Copyright (c) 1997-2008 University of Cambridge
10    
11  -----------------------------------------------------------------------------  -----------------------------------------------------------------------------
12  Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
# Line 42  POSSIBILITY OF SUCH DAMAGE. Line 42  POSSIBILITY OF SUCH DAMAGE.
42  string that identifies the PCRE version that is in use. */  string that identifies the PCRE version that is in use. */
43    
44    
45  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
46  #include <config.h>  #include "config.h"
47  #endif  #endif
48    
49  #include "pcre_internal.h"  #include "pcre_internal.h"
50    
# Line 79  I could find no way of detecting that a Line 79  I could find no way of detecting that a
79  pre-processor time. This hack uses a standard trick for avoiding calling  pre-processor time. This hack uses a standard trick for avoiding calling
80  the STRING macro with an empty argument when doing the test. */  the STRING macro with an empty argument when doing the test. */
81    
82  PCRE_EXP_DEFN const char *  PCRE_EXP_DEFN const char * PCRE_CALL_CONVENTION
83  pcre_version(void)  pcre_version(void)
84  {  {
85  return (XSTRING(Z PCRE_PRERELEASE)[1] == 0)?  return (XSTRING(Z PCRE_PRERELEASE)[1] == 0)?

Legend:
Removed from v.199  
changed lines
  Added in v.359

  ViewVC Help
Powered by ViewVC 1.1.5