summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/imports.c
diff options
context:
space:
mode:
authorJouk Jansen <[email protected]>2003-10-21 10:12:47 +0000
committerJouk Jansen <[email protected]>2003-10-21 10:12:47 +0000
commit1d61db5f314e7b7e2f1ab4a5cb4452f6a458ed34 (patch)
tree52dad9d38d73e29f0949b61a0b61f6d96e9ec13d /src/mesa/main/imports.c
parent6d4afe2a959f9ce7733ab50d032402c60610fbda (diff)
Committing in .
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 ----------------------------------------------------------------------
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r--src/mesa/main/imports.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index 41179f4d940..6420303a4ee 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -64,8 +64,11 @@
#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