aboutsummaryrefslogtreecommitdiff
path: root/libX11/include/X11/Xregion.h
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/include/X11/Xregion.h')
-rw-r--r--libX11/include/X11/Xregion.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libX11/include/X11/Xregion.h b/libX11/include/X11/Xregion.h
index b441312dc..1ae16c487 100644
--- a/libX11/include/X11/Xregion.h
+++ b/libX11/include/X11/Xregion.h
@@ -58,8 +58,10 @@ typedef struct {
#define TRUE 1
#define FALSE 0
+#ifndef MAXSHORT
#define MAXSHORT 32767
#define MINSHORT -MAXSHORT
+#endif
#ifndef MAX
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
#endif