/[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 835 by ph10, Wed Jul 9 16:20:19 2008 UTC revision 836 by ph10, Wed Dec 28 17:16:11 2011 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-2008 University of Cambridge             Copyright (c) 1997-2012 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 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    #ifdef COMPILE_PCRE8
83  PCRE_EXP_DEFN const char * PCRE_CALL_CONVENTION  PCRE_EXP_DEFN const char * PCRE_CALL_CONVENTION
84  pcre_version(void)  pcre_version(void)
85    #else
86    PCRE_EXP_DEFN const char * PCRE_CALL_CONVENTION
87    pcre16_version(void)
88    #endif
89  {  {
90  return (XSTRING(Z PCRE_PRERELEASE)[1] == 0)?  return (XSTRING(Z PCRE_PRERELEASE)[1] == 0)?
91    XSTRING(PCRE_MAJOR.PCRE_MINOR PCRE_DATE) :    XSTRING(PCRE_MAJOR.PCRE_MINOR PCRE_DATE) :

Legend:
Removed from v.835  
changed lines
  Added in v.836

  ViewVC Help
Powered by ViewVC 1.1.5