Skip to content
Snippets Groups Projects
Commit fcd2ff97 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

include: Fix the msvcrt time_t definition on 64-bit.

parent 03f95197
Branches
Tags
No related merge requests found
......@@ -104,11 +104,6 @@ typedef unsigned int size_t;
#define _SIZE_T_DEFINED
#endif
#ifndef _TIME_T_DEFINED
typedef long time_t;
#define _TIME_T_DEFINED
#endif
#ifndef _TIME32_T_DEFINED
typedef long __time32_t;
#define _TIME32_T_DEFINED
......@@ -119,6 +114,15 @@ typedef __int64 __time64_t;
#define _TIME64_T_DEFINED
#endif
#ifndef _TIME_T_DEFINED
#ifdef _WIN64
typedef __time64_t time_t;
#else
typedef __time32_t time_t;
#endif
#define _TIME_T_DEFINED
#endif
#ifndef _WCHAR_T_DEFINED
#ifndef __cplusplus
typedef unsigned short wchar_t;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment