#include <limits.h> (#319)
Fixes error about undefined INT_MAX in common/bspfile.cc
This commit is contained in:
parent
81d58e5e89
commit
4a1feadaab
|
|
@ -21,6 +21,8 @@
|
|||
#include <common/mathlib.hh>
|
||||
#include <common/bspfile.hh>
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
const bspversion_t bspver_generic { NO_VERSION, NO_VERSION, "mbsp", "generic BSP" };
|
||||
const bspversion_t bspver_q1 { BSPVERSION, NO_VERSION, "bsp29", "Quake BSP" };
|
||||
/* Hexen II doesn't use a separate version, but we can still use a separate tag/name for it */
|
||||
|
|
@ -3626,4 +3628,4 @@ DecompressRow (const uint8_t *in, const int numbytes, uint8_t *decompressed)
|
|||
c--;
|
||||
}
|
||||
} while (out - decompressed < row);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue