summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2010-07-23 17:15:07 -0300
committerDavi Arnaut <davi.arnaut@oracle.com>2010-07-23 17:15:07 -0300
commit85bbcfee02996b42b6a63b881691f6aeb6967d6f (patch)
tree6a6d06ccca15bd33f316633d542c8be2470ffcca /include/my_global.h
parente83f1d37c497383f25aee772371692ea561190a4 (diff)
downloadmariadb-git-85bbcfee02996b42b6a63b881691f6aeb6967d6f.tar.gz
WL#5498: Remove dead and unused source code
Remove the ancient and dead raid code. By now, even the server side has been removed.
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h18
1 files changed, 0 insertions, 18 deletions
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 */