Added _daylight stub int, and __p__daylight function.

This commit is contained in:
Marcus Meissner 2003-03-04 02:19:15 +00:00 committed by Alexandre Julliard
parent 2d309da2c0
commit dbcbbe0211
2 changed files with 15 additions and 3 deletions

View File

@ -109,7 +109,7 @@
@ cdecl __p__acmdln() __p__acmdln
@ stub __p__amblksiz #()
@ cdecl __p__commode() __p__commode
@ stub __p__daylight #()
@ cdecl __p__daylight() MSVCRT___p__daylight
@ stub __p__dstbias #()
@ cdecl __p__environ() __p__environ
@ stub __p__fileinfo #()
@ -193,7 +193,7 @@
@ varargs _cscanf(str) _cscanf
@ extern _ctype MSVCRT__ctype
@ cdecl _cwait(ptr long long) _cwait
@ stub _daylight
@ extern _daylight MSVCRT___daylight
@ stub _dstbias
@ cdecl _dup (long) _dup
@ cdecl _dup2 (long long) _dup2

View File

@ -37,7 +37,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
/* INTERNAL: Return formatted current time/date */
char* msvcrt_get_current_time(char* out, const char* format)
{
@ -141,3 +140,16 @@ void _ftime(struct _timeb *buf)
buf->timezone = 0;
buf->dstflag = 0;
}
/*********************************************************************
* _daylight (MSVCRT.@)
*/
int MSVCRT___daylight = 1; /* FIXME: assume daylight */
/*********************************************************************
* __p_daylight (MSVCRT.@)
*/
void *MSVCRT___p__daylight(void)
{
return &MSVCRT___daylight;
}