summaryrefslogtreecommitdiff
path: root/include/mysys_err.h
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-15 08:16:06 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-15 08:16:06 -0300
commit13f7a1d2447c002adc36dd1bd51305edbc8e8636 (patch)
tree5f9985f179d0e43f7caa8e99eaf627865f967ba0 /include/mysys_err.h
parent07e7b4d6fe590cb49a5009842d3153520f2e1a36 (diff)
downloadmariadb-git-13f7a1d2447c002adc36dd1bd51305edbc8e8636.tar.gz
WL#5486: Remove code for unsupported platforms
Remove MS-DOS specific code.
Diffstat (limited to 'include/mysys_err.h')
-rw-r--r--include/mysys_err.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/mysys_err.h b/include/mysys_err.h
index 6c18055b31b..9629dfec014 100644
--- a/include/mysys_err.h
+++ b/include/mysys_err.h
@@ -15,17 +15,15 @@
#ifndef _mysys_err_h
#define _mysys_err_h
-#ifdef __cplusplus
-
-#include "my_global.h" /* NEAR */
+#ifdef __cplusplus
extern "C" {
#endif
#define GLOBERRS (EE_ERROR_LAST - EE_ERROR_FIRST + 1) /* Nr of global errors */
#define EE(X) (globerrs[(X) - EE_ERROR_FIRST])
-extern const char * NEAR globerrs[]; /* my_error_messages is here */
+extern const char *globerrs[]; /* my_error_messages is here */
/* Error message numbers in global map */
/*