Annotation of parser3/src/main/pa_common.C, revision 1.1

1.1     ! paf         1: /*
        !             2:   $Id: pa_array.C,v 1.9 2001/01/29 17:01:51 paf Exp $
        !             3: */
        !             4: 
        !             5: #ifdef HAVE_CONFIG_H
        !             6: #      include "pa_config.h"
        !             7: #endif
        !             8: 
        !             9: #include <stdio.h>
        !            10: 
        !            11: #include "pa_common.h"
        !            12: 
        !            13: #ifdef WIN32
        !            14: 
        !            15: int __vsnprintf(char *b, size_t s, const char *f, va_list l) {
        !            16:        int r=_vsnprintf(b, --s, f, l);
        !            17:        b[s]=0;
        !            18:        return r;
        !            19: }
        !            20: int __snprintf(char *b, size_t s, const char *f, ...) {
        !            21:        va_list l;
        !            22:     va_start(l, f);
        !            23:     int r=__vsnprintf(b, s, f, l);
        !            24:     va_end(l);
        !            25:        return r;
        !            26: }
        !            27: 
        !            28: #endif

E-mail: