The latest version of the OpenVMS DECCRTL contains (v)snprintf
If this one is beeing used the (v)snprintf routines are not compiled in
from mesa's source.
Modified Files:
Mesa-newtree/src/mesa/main/descrip.mms
Mesa-newtree/src/mesa/main/imports.c
----------------------------------------------------------------------
texstore.c \
texutil.c \
varray.c \
- vtxfmt.c \
- vsnprintf.c
+ vtxfmt.c
OBJECTS=accum.obj,\
api_loopback.obj,\
texstore.obj,\
texutil.obj,\
varray.obj,\
-vtxfmt.obj,\
-vsnprintf.obj
+vtxfmt.obj
##### RULES #####
hint.obj : hint.c
histogram.obj : histogram.c
image.obj : image.c
-imports.obj : imports.c
+imports.obj : imports.c vsnprintf.c
light.obj : light.c
lines.obj : lines.c
matrix.obj : matrix.c
texutil.obj : texutil.c
varray.obj : varray.c
vtxfmt.obj : vtxfmt.c
-vsnprintf.obj : vsnprintf.c
#ifdef WIN32
#define vsnprintf _vsnprintf
-#elif defined(__IBMC__) || defined(__IBMCPP__) || defined(VMS)
+#elif defined(__IBMC__) || defined(__IBMCPP__) || ( defined(__VMS) && __CRTL_VER < 70312000 )
extern int vsnprintf(char *str, size_t count, const char *fmt, va_list arg);
+#ifdef __VMS
+#include "vsnprintf.c"
+#endif
#endif