Commit 74d63c02 authored by Alexandre Julliard's avatar Alexandre Julliard

include: Fix the definition of 64-bit types for Mingw64.

parent 4bddbedc
......@@ -59,7 +59,7 @@ extern "C" {
# define __int32 int
# endif
# ifndef __int64
# ifdef _WIN64
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
# else
# define __int64 long long
......
......@@ -29,7 +29,7 @@ typedef unsigned short wchar_t;
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
# else
# define __int64 long long
......
......@@ -25,7 +25,7 @@ typedef unsigned short wchar_t;
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
# else
# define __int64 long long
......
......@@ -39,7 +39,7 @@
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
# else
# define __int64 long long
......
......@@ -30,7 +30,7 @@
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
# else
# define __int64 long long
......
......@@ -16,7 +16,7 @@
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
# else
# define __int64 long long
......
......@@ -28,7 +28,7 @@
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
# else
# define __int64 long long
......
......@@ -28,7 +28,7 @@
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
# else
# define __int64 long long
......
......@@ -22,7 +22,7 @@
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
# else
# define __int64 long long
......
......@@ -49,7 +49,7 @@ typedef struct
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
# else
# define __int64 long long
......
......@@ -23,7 +23,7 @@ typedef unsigned short wchar_t;
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
# else
# define __int64 long long
......
......@@ -28,7 +28,7 @@
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
# else
# define __int64 long long
......
......@@ -37,7 +37,7 @@ typedef unsigned short wchar_t;
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
# else
# define __int64 long long
......
......@@ -42,7 +42,7 @@ typedef unsigned short wchar_t;
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
# else
# define __int64 long long
......
......@@ -37,18 +37,19 @@ extern "C" {
/* Calling conventions definitions */
#if defined(__i386__) && !defined(_X86_)
# define _X86_
#endif
#if defined(_X86_) && !defined(__i386__)
# define __i386__
#endif
#if defined(__x86_64__) && !defined(_WIN64)
#define _WIN64
#endif
#ifndef _WIN64
# if defined(__i386__) && !defined(_X86_)
# define _X86_
# endif
# if defined(_X86_) && !defined(__i386__)
# define __i386__
# endif
#endif
#ifndef __stdcall
# ifdef __i386__
# ifdef __GNUC__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment