Alex Henrie : include: Add lldiv and lldiv_t.
Alexandre Julliard
julliard at winehq.org
Fri May 4 17:10:34 CDT 2018
Module: wine
Branch: master
Commit: b8c27cca3719cff353acc4a52b9e4a9d3d8a4a6c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b8c27cca3719cff353acc4a52b9e4a9d3d8a4a6c
Author: Alex Henrie <alexhenrie24 at gmail.com>
Date: Thu May 3 21:44:24 2018 -0600
include: Add lldiv and lldiv_t.
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/msvcrt/stdlib.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/msvcrt/stdlib.h b/include/msvcrt/stdlib.h
index 3c9c4a7..2db48c5 100644
--- a/include/msvcrt/stdlib.h
+++ b/include/msvcrt/stdlib.h
@@ -60,6 +60,11 @@ typedef struct _ldiv_t {
__msvcrt_long rem;
} ldiv_t;
+typedef struct _lldiv_t {
+ __int64 quot;
+ __int64 rem;
+} lldiv_t;
+
#define _countof(x) (sizeof(x)/sizeof((x)[0]))
@@ -194,6 +199,7 @@ void* __cdecl calloc(size_t,size_t);
div_t __cdecl div(int,int);
ldiv_t __cdecl ldiv(__msvcrt_long,__msvcrt_long);
#endif
+lldiv_t __cdecl lldiv(__int64,__int64);
void __cdecl exit(int);
void __cdecl free(void*);
char* __cdecl getenv(const char*);
More information about the wine-cvs
mailing list