From b80db0448e729775f11d8f87593c8ba64850db3c Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Wed, 30 Jan 2008 22:54:26 -0200 Subject: [PATCH] Remove macro defining strdup to xf86strdup. Removal is conditional to XORG_VERSION_CURRENT 10499002, i.e. tag xorg-server-1.4.0.90 --- src/xf86MagicTouch.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/xf86MagicTouch.c b/src/xf86MagicTouch.c index 12992e6..efcb814 100644 --- a/src/xf86MagicTouch.c +++ b/src/xf86MagicTouch.c @@ -213,9 +213,11 @@ static int debug_level = 0; #define read(fd, ptr, num) xf86ReadSerial(fd, ptr, num) #define write(fd, ptr, num) xf86WriteSerial(fd, ptr, num) #define close(fd) xf86CloseSerial(fd) +#if XORG_VERSION_CURRENT <= (((1) * 10000000) + ((4) * 100000) + ((99) * 1000) + 2) #define strdup(str) xf86strdup(str) #endif +#endif -- 1.5.3.2