summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <tnurnberg@white.intern.koehntopp.de>2008-03-27 23:34:12 +0100
committerunknown <tnurnberg@white.intern.koehntopp.de>2008-03-27 23:34:12 +0100
commitea4c84eadafd4673165232d01d811a6a7c5ddf9f (patch)
tree432acab1ed6fe07e9087cf7577c8910fcfbb6900 /include
parent099c888967557c164e11cb0ca7d895898be6edc9 (diff)
parent1561ee5c56875a2d136170a357167700d62f0a01 (diff)
downloadmariadb-git-ea4c84eadafd4673165232d01d811a6a7c5ddf9f.tar.gz
Merge mysql.com:/misc/mysql/mysql-5.1
into mysql.com:/misc/mysql/mysql-5.1-opt CMakeLists.txt: Auto merged configure.in: Auto merged include/config-win.h: Auto merged include/my_global.h: Auto merged sql/sql_acl.cc: Auto merged sql/sql_db.cc: Auto merged storage/innobase/handler/ha_innodb.cc: Auto merged
Diffstat (limited to 'include')
-rw-r--r--include/config-win.h4
-rw-r--r--include/my_global.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/include/config-win.h b/include/config-win.h
index 170b4b451c7..7211dd59c84 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -158,14 +158,12 @@ typedef uint rf_SetTimer;
#define Socket_defined
#define my_socket SOCKET
-#define bool BOOL
#define SIGPIPE SIGINT
#define RETQSORTTYPE void
#define QSORT_TYPE_IS_VOID
#define RETSIGTYPE void
#define SOCKET_SIZE_TYPE int
#define my_socket_defined
-#define bool_defined
#define byte_defined
#define HUGE_PTR
#define STDCALL __stdcall /* Used by libmysql.dll */
@@ -407,4 +405,4 @@ inline double ulonglong2double(ulonglong value)
#define HAVE_CHARSET_ujis 1
#define HAVE_CHARSET_utf8 1
#define HAVE_UCA_COLLATIONS 1
-
+#define HAVE_BOOL 1
diff --git a/include/my_global.h b/include/my_global.h
index 00d1ea25c7a..d9a8aeca881 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -1067,7 +1067,7 @@ typedef uint8 int7; /* Most effective integer 0 <= x <= 127 */
typedef short int15; /* Most effective integer 0 <= x <= 32767 */
typedef int myf; /* Type of MyFlags in my_funcs */
typedef char my_bool; /* Small bool */
-#if !defined(bool) && !defined(bool_defined) && (!defined(HAVE_BOOL) || !defined(__cplusplus))
+#if !defined(bool) && (!defined(HAVE_BOOL) || !defined(__cplusplus))
typedef char bool; /* Ordinary boolean values 0 1 */
#endif
/* Macros for converting *constants* to the right type */