change values.h->limits.h and MAXINT->INTMAX for freebsd. I hope this doesn't break win32.

This commit is contained in:
Bill Currie 2000-05-08 03:40:28 +00:00
parent 2d78c66bbf
commit f9b2b9e6ad

View file

@ -33,7 +33,7 @@
#define _BSD
#include <config.h>
#include <values.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -587,7 +587,7 @@ void VID_Init (unsigned char *palette)
#ifdef HAS_VIDMODE
if (hasvidmode && vid_fullscreen->value) {
int smallest_mode=0, x=MAXINT, y=MAXINT;
int smallest_mode=0, x=INT_MAX, y=INT_MAX;
attribs.override_redirect=1;
attribmask|=CWOverrideRedirect;