diff options
author | monty@donna.mysql.com <> | 2000-08-23 15:02:27 +0300 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-08-23 15:02:27 +0300 |
commit | d564acf14eb07cefedf0218c90fd109c61dc6e2f (patch) | |
tree | b3128ac4cfef425d026d95cd4fd1a55830ef7658 /include/config-win.h | |
parent | 7ef8d67d6b7c422aaf57b10b13e80fdcadd69882 (diff) | |
download | mariadb-git-d564acf14eb07cefedf0218c90fd109c61dc6e2f.tar.gz |
Fixes for Ia64
Diffstat (limited to 'include/config-win.h')
-rw-r--r-- | include/config-win.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/include/config-win.h b/include/config-win.h index eca0de680d8..dc54895a5d9 100644 --- a/include/config-win.h +++ b/include/config-win.h @@ -32,11 +32,17 @@ #define SYSTEM_TYPE "Win95/Win98" #endif -#ifdef _WIN32 -#define MACHINE_TYPE "i32" /* Define to machine type name */ -#else +#ifdef _WIN64 #define MACHINE_TYPE "i64" /* Define to machine type name */ +#else +#define MACHINE_TYPE "i32" /* Define to machine type name */ +#ifndef _WIN32 +#define _WIN32 /* Compatible with old source */ +#endif +#ifndef __WIN32__ +#define __WIN32__ #endif +#endif /* _WIN64 */ #ifndef __WIN__ #define __WIN__ /* To make it easier in VC++ */ #endif |