summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/descrip.mms2
-rw-r--r--src/mesa/main/texobj.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/descrip.mms b/src/mesa/main/descrip.mms
index a7a5966ca98..2f968ce9623 100644
--- a/src/mesa/main/descrip.mms
+++ b/src/mesa/main/descrip.mms
@@ -15,7 +15,7 @@ VPATH = RCS
INCDIR = [---.include],[-.glapi],[-.shader]
LIBDIR = [---.lib]
-CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)
+CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)/float=ieee/ieee=denorm
SOURCES =accum.c \
api_arrayelt.c \
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index 3c74e748722..c4cfe3310c8 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -40,6 +40,9 @@
#include "texobj.h"
#include "mtypes.h"
+#ifdef __VMS
+#define _mesa_sprintf sprintf
+#endif
/**********************************************************************/
/** \name Internal functions */