mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-24 21:01:17 +00:00
change values.h->limits.h and MAXINT->INTMAX for freebsd. I hope this doesn't break win32.
This commit is contained in:
parent
2d78c66bbf
commit
f9b2b9e6ad
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue