include: Add lldiv and lldiv_t.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7bb7bc86d6
commit
b8c27cca37
|
@ -60,6 +60,11 @@ typedef struct _ldiv_t {
|
||||||
__msvcrt_long rem;
|
__msvcrt_long rem;
|
||||||
} ldiv_t;
|
} ldiv_t;
|
||||||
|
|
||||||
|
typedef struct _lldiv_t {
|
||||||
|
__int64 quot;
|
||||||
|
__int64 rem;
|
||||||
|
} lldiv_t;
|
||||||
|
|
||||||
|
|
||||||
#define _countof(x) (sizeof(x)/sizeof((x)[0]))
|
#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);
|
div_t __cdecl div(int,int);
|
||||||
ldiv_t __cdecl ldiv(__msvcrt_long,__msvcrt_long);
|
ldiv_t __cdecl ldiv(__msvcrt_long,__msvcrt_long);
|
||||||
#endif
|
#endif
|
||||||
|
lldiv_t __cdecl lldiv(__int64,__int64);
|
||||||
void __cdecl exit(int);
|
void __cdecl exit(int);
|
||||||
void __cdecl free(void*);
|
void __cdecl free(void*);
|
||||||
char* __cdecl getenv(const char*);
|
char* __cdecl getenv(const char*);
|
||||||
|
|
Loading…
Reference in New Issue