From cc3a26289d7b3e8275bf26f7c7d5682f8c86f2ad Mon Sep 17 00:00:00 2001 From: Davi Arnaut Date: Fri, 23 Jul 2010 17:15:07 -0300 Subject: WL#5498: Remove dead and unused source code Remove the ancient and dead raid code. By now, even the server side has been removed. --- include/my_global.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'include/my_global.h') diff --git a/include/my_global.h b/include/my_global.h index b7ec40fc2e0..33eaefefe62 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -1125,22 +1125,6 @@ typedef long long intptr; #define MY_ERRPTR ((void*)(intptr)1) -#ifdef USE_RAID -/* - The following is done with a if to not get problems with pre-processors - with late define evaluation -*/ -#if SIZEOF_OFF_T == 4 -#define SYSTEM_SIZEOF_OFF_T 4 -#else -#define SYSTEM_SIZEOF_OFF_T 8 -#endif -#undef SIZEOF_OFF_T -#define SIZEOF_OFF_T 8 -#else -#define SYSTEM_SIZEOF_OFF_T SIZEOF_OFF_T -#endif /* USE_RAID */ - #if defined(_WIN32) typedef unsigned long long my_off_t; typedef unsigned long long os_off_t; @@ -1699,8 +1683,6 @@ static inline double rint(double x) #undef HAVE_SMEM /* No shared memory */ #undef HAVE_NDBCLUSTER_DB /* No NDB cluster */ -#define DONT_USE_RAID - #endif /* EMBEDDED_LIBRARY */ #endif /* my_global_h */ -- cgit v1.2.1