mirror of
https://github.com/reactos/reactos.git
synced 2025-01-21 02:53:30 +08:00
[PSDK][XDK]
- Automatically define __ROS_LONG64__ on LP64 systems. This makes no difference for ROS but makes things easier for downstream users of our headers. Patch by Cat Zimmermann. svn path=/trunk/; revision=73383
This commit is contained in:
parent
fb4c861add
commit
89c3520c86
@ -6,13 +6,11 @@
|
||||
#include <msvctarget.h>
|
||||
#endif
|
||||
|
||||
#ifndef _M_AMD64
|
||||
#if defined(__LP64__) || (!defined(_M_AMD64) && defined(__WINESRC__))
|
||||
#if !defined(__ROS_LONG64__)
|
||||
#ifdef __WINESRC__
|
||||
#define __ROS_LONG64__
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#ifndef __int64
|
||||
|
@ -14,13 +14,11 @@
|
||||
#pragma warning(disable:4255)
|
||||
#endif
|
||||
|
||||
#ifndef _M_AMD64
|
||||
#if defined(__LP64__) || (!defined(_M_AMD64) && defined(__WINESRC__))
|
||||
#if !defined(__ROS_LONG64__)
|
||||
#ifdef __WINESRC__
|
||||
#define __ROS_LONG64__
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef NO_STRICT
|
||||
#ifndef STRICT
|
||||
|
@ -15,13 +15,11 @@
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#ifndef _M_AMD64
|
||||
#if defined(__LP64__) || (!defined(_M_AMD64) && defined(__WINESRC__))
|
||||
#if !defined(__ROS_LONG64__)
|
||||
#ifdef __WINESRC__
|
||||
#define __ROS_LONG64__
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define _GNU_H_WINDOWS32_SOCKETS
|
||||
|
||||
|
@ -39,13 +39,11 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef _M_AMD64
|
||||
#if defined(__LP64__) || (!defined(_M_AMD64) && defined(__WINESRC__))
|
||||
#if !defined(__ROS_LONG64__)
|
||||
#ifdef __WINESRC__
|
||||
#define __ROS_LONG64__
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -28,9 +28,8 @@
|
||||
#error Compiler too old!
|
||||
#endif
|
||||
|
||||
/* HACK for wine code */
|
||||
#if defined(__LP64__) || (!defined(_M_AMD64) && defined(__WINESRC__))
|
||||
#if !defined(__ROS_LONG64__)
|
||||
#ifdef __WINESRC__
|
||||
#define __ROS_LONG64__
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user