summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <gshchepa/uchum@host.loc>2008-03-27 15:52:55 +0400
committerunknown <gshchepa/uchum@host.loc>2008-03-27 15:52:55 +0400
commit11cfd2ed67ddce51e6fe0b357a660557aa372ffb (patch)
tree799a5f4f3ff09f0fd91eaac22493bded4eb38a8c /include
parent4816e7b7fbd9a035aab92fbebf3ffa065612289e (diff)
parentc3f2e30320f31d654fecb0bf2eabf66e64685b89 (diff)
downloadmariadb-git-11cfd2ed67ddce51e6fe0b357a660557aa372ffb.tar.gz
Merge host.loc:/home/uchum/work/mysql-5.0
into host.loc:/home/uchum/work/5.0-opt sql/sql_delete.cc: Auto merged sql/sql_prepare.cc: Auto merged sql/sql_update.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 45bfeb5ba26..c9c25d44691 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -157,14 +157,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 */
@@ -457,4 +455,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 08877300d8a..f0f33a7de8b 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -980,7 +980,7 @@ typedef int myf; /* Type of MyFlags in my_funcs */
typedef char byte; /* Smallest addressable unit */
#endif
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 */