mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:45:41 +00:00
don't include unistd.h in msvc builds
add some x64 declarations from wine to port.h svn path=/trunk/; revision=32566
This commit is contained in:
parent
d3ea26544a
commit
68844e0d8e
2 changed files with 10 additions and 0 deletions
|
@ -780,7 +780,9 @@
|
||||||
/* #undef HAVE_UNICODE_UBIDI_H */
|
/* #undef HAVE_UNICODE_UBIDI_H */
|
||||||
|
|
||||||
/* Define to 1 if you have the <unistd.h> header file. */
|
/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
|
#if !defined(_MSC_VER)
|
||||||
#define HAVE_UNISTD_H 1
|
#define HAVE_UNISTD_H 1
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define to 1 if you have the `usleep' function. */
|
/* Define to 1 if you have the `usleep' function. */
|
||||||
/* #undef HAVE_USLEEP */
|
/* #undef HAVE_USLEEP */
|
||||||
|
|
|
@ -49,6 +49,14 @@
|
||||||
* Type definitions
|
* Type definitions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if !defined(_MSC_VER) && !defined(__int64)
|
||||||
|
# if defined(__x86_64__) || defined(_WIN64)
|
||||||
|
# define __int64 long
|
||||||
|
# else
|
||||||
|
# define __int64 long long
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_MODE_T
|
#ifndef HAVE_MODE_T
|
||||||
typedef int mode_t;
|
typedef int mode_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue