diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-07-15 08:16:06 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-07-15 08:16:06 -0300 |
commit | 13f7a1d2447c002adc36dd1bd51305edbc8e8636 (patch) | |
tree | 5f9985f179d0e43f7caa8e99eaf627865f967ba0 /include/my_global.h | |
parent | 07e7b4d6fe590cb49a5009842d3153520f2e1a36 (diff) | |
download | mariadb-git-13f7a1d2447c002adc36dd1bd51305edbc8e8636.tar.gz |
WL#5486: Remove code for unsupported platforms
Remove MS-DOS specific code.
Diffstat (limited to 'include/my_global.h')
-rw-r--r-- | include/my_global.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/my_global.h b/include/my_global.h index f3e6ae1633a..5480f7ce2c1 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -679,16 +679,6 @@ int __cxa_pure_virtual () __attribute__ ((weak)); C_MODE_END #endif -/* From old s-system.h */ - -/* - Support macros for non ansi & other old compilers. Since such - things are no longer supported we do nothing. We keep then since - some of our code may still be needed to upgrade old customers. -*/ -#define _VARARGS(X) X -#define _STATIC_VARARGS(X) X - /* The DBUG_ON flag always takes precedence over default DBUG_OFF */ #if defined(DBUG_ON) && defined(DBUG_OFF) #undef DBUG_OFF @@ -704,7 +694,6 @@ C_MODE_END #define MIN_ARRAY_SIZE 0 /* Zero or One. Gcc allows zero*/ #define ASCII_BITS_USED 8 /* Bit char used */ -#define NEAR_F /* No near function handling */ /* Some types that is different between systems */ @@ -1078,14 +1067,6 @@ template <size_t sz> struct Aligned_char_array ((size_t)((char *)&(((TYPE *)0x10)->MEMBER) - (char*)0x10)) #define NullS (char *) 0 -/* Nowdays we do not support MessyDos */ -#ifndef NEAR -#define NEAR /* Who needs segments ? */ -#define FAR /* On a good machine */ -#ifndef HUGE_PTR -#define HUGE_PTR -#endif -#endif #ifdef STDCALL #undef STDCALL |