aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-11-24 11:05:12 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-11-24 11:05:12 +0300
commit93c20d346adfb99df622cea986275591825adfb1 (patch)
treef910a55c6c9cb107209b1178522657eb307c1339
parentb0a2e74e0a069c14677a80c13ae122ea87a9b24b (diff)
Fix BYTE_ORDER definition
-rw-r--r--mysql/ma_config.h2
-rw-r--r--mysql/version.h36
2 files changed, 37 insertions, 1 deletions
diff --git a/mysql/ma_config.h b/mysql/ma_config.h
index 3f68f22..62c037b 100644
--- a/mysql/ma_config.h
+++ b/mysql/ma_config.h
@@ -34,7 +34,7 @@
/*
* Endianess.
*/
-#ifdef FreeBSD_
+#ifdef __FreeBSD__
# include <sys/endian.h> /* BYTE_ORDER */
#else
# if defined(_WIN32)
diff --git a/mysql/version.h b/mysql/version.h
index e69de29..bfaa707 100644
--- a/mysql/version.h
+++ b/mysql/version.h
@@ -0,0 +1,36 @@
+/* Copyright Abandoned 1996, 1999, 2001 MySQL AB
+ This file is public domain and comes with NO WARRANTY of any kind */
+
+/* Version numbers for protocol & mysqld */
+
+#ifndef _mariadb_version_h_
+#define _mariadb_version_h_
+
+#ifdef _CUSTOMCONFIG_
+#include <custom_conf.h>
+#else
+#define PROTOCOL_VERSION 10
+#define MARIADB_CLIENT_VERSION_STR "10.2.10-a.0.z"
+#define MARIADB_BASE_VERSION "mariadb-10.2"
+#define MARIADB_VERSION_ID (10000 * 10 + 100 * 2 + 10)
+#define MYSQL_VERSION_ID (10000 * 10 + 100 * 2 + 10)
+#define MARIADB_PORT 3306
+#define MARIADB_UNIX_ADDR "/tmp/mysql.sock"
+#define MYSQL_CONFIG_NAME "my"
+
+#define MARIADB_PACKAGE_VERSION "3.0.2"
+#define MARIADB_PACKAGE_VERSION_ID (10000 * 3 + 100 * 0 + 2)
+#define MARIADB_SYSTEM_TYPE "linux"
+#define MARIADB_MACHINE_TYPE "x86_64"
+#define MARIADB_PLUGINDIR "/tmp/mymar/lib/mariadb/plugin"
+
+/* mysqld compile time options */
+#ifndef MYSQL_CHARSET
+#define MYSQL_CHARSET ""
+#endif
+#endif
+
+/* Source information */
+#define CC_SOURCE_REVISION ""
+
+#endif /* _mariadb_version_h_ */