diff options
author | dscho <dscho> | 2001-10-13 17:34:44 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-10-13 17:34:44 +0000 |
commit | a1b2220287e7de4e0c1c2fc39f50243e31fab9e1 (patch) | |
tree | 4ea00814d3adf201747140b6d46a5f03e95e6cb6 /font.c | |
parent | e47ffe3dfc7386e3bb9ca22ee7d10b9c7f78355e (diff) | |
download | libtdevnc-a1b2220287e7de4e0c1c2fc39f50243e31fab9e1.tar.gz libtdevnc-a1b2220287e7de4e0c1c2fc39f50243e31fab9e1.zip |
INT_MAX maybe not defined
Diffstat (limited to 'font.c')
-rw-r--r-- | font.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -131,6 +131,10 @@ void rfbFontBBox(rfbFontDataPtr font,unsigned char c,int* x1,int* y1,int* x2,int *y2=*y1+font->metaData[c*5+2]; } +#ifndef INT_MAX +#define INT_MAX 0x7fffffff +#endif + void rfbWholeFontBBox(rfbFontDataPtr font, int *x1, int *y1, int *x2, int *y2) { |