aboutsummaryrefslogtreecommitdiff
path: root/libXfont/src
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-10-06 10:45:21 +0200
committermarha <marha@users.sourceforge.net>2011-10-06 10:45:21 +0200
commit240264c2df4370e55fc61064054db2aa37d72eac (patch)
tree3ed0d2cd14b235e66f29d4559bec4555d725b339 /libXfont/src
parent82b3a23bd9a80a9789a18fca2a5694c32bed801e (diff)
downloadvcxsrv-240264c2df4370e55fc61064054db2aa37d72eac.tar.gz
vcxsrv-240264c2df4370e55fc61064054db2aa37d72eac.tar.bz2
vcxsrv-240264c2df4370e55fc61064054db2aa37d72eac.zip
Solved compile warning
Diffstat (limited to 'libXfont/src')
-rw-r--r--libXfont/src/FreeType/fttools.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libXfont/src/FreeType/fttools.c b/libXfont/src/FreeType/fttools.c
index bc75b7e4f..a0e34d021 100644
--- a/libXfont/src/FreeType/fttools.c
+++ b/libXfont/src/FreeType/fttools.c
@@ -40,6 +40,13 @@
#define MSBFirst 1
#endif
+#ifdef LOBYTE
+#undef LOBYTE
+#endif
+#ifdef HIBYTE
+#undef HIBYTE
+#endif
+
#define LOBYTE(s,byte) ((byte)==LSBFirst?*(char*)(s):*((char*)(s)+1))
#define HIBYTE(s,byte) ((byte)==LSBFirst?*((char*)(s)+1):*(char*)(s))