summaryrefslogtreecommitdiff
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 a7a5966ca9..2f968ce962 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 3c74e74872..c4cfe3310c 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 */