mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 04:07:16 +00:00
Split out a few variable differences between libraries.
svn path=/trunk/; revision=3810
This commit is contained in:
parent
1b135b8732
commit
4bad5b8b2f
3 changed files with 68 additions and 0 deletions
21
reactos/lib/crtdll/time/tz_vars.c
Normal file
21
reactos/lib/crtdll/time/tz_vars.c
Normal file
|
@ -0,0 +1,21 @@
|
|||
#include <msvcrt/string.h>
|
||||
#include <msvcrt/ctype.h>
|
||||
#include <msvcrt/stdlib.h>
|
||||
|
||||
|
||||
int _daylight_dll;
|
||||
int _timezone_dll;
|
||||
|
||||
|
||||
void _set_daylight_export(int value)
|
||||
{
|
||||
_daylight_dll = value;
|
||||
}
|
||||
|
||||
void _set_timezone_export(int value)
|
||||
{
|
||||
_timezone_dll = value;
|
||||
}
|
||||
|
||||
|
||||
|
26
reactos/lib/msvcrt/process/threadx.c
Normal file
26
reactos/lib/msvcrt/process/threadx.c
Normal file
|
@ -0,0 +1,26 @@
|
|||
/* $Id: threadx.c,v 1.1 2002/11/29 16:00:21 robd Exp $
|
||||
*
|
||||
*/
|
||||
#include <windows.h>
|
||||
#include <msvcrt/errno.h>
|
||||
#include <msvcrt/process.h>
|
||||
|
||||
|
||||
unsigned long _beginthreadex(
|
||||
void* security,
|
||||
unsigned stack_size,
|
||||
unsigned (__stdcall *start_address)(void*),
|
||||
void* arglist,
|
||||
unsigned initflag,
|
||||
unsigned* thrdaddr)
|
||||
{
|
||||
errno = ENOSYS;
|
||||
return (unsigned long)-1;
|
||||
}
|
||||
|
||||
|
||||
void _endthreadex(unsigned retval)
|
||||
{
|
||||
}
|
||||
|
||||
/* EOF */
|
21
reactos/lib/msvcrt/time/tz_vars.c
Normal file
21
reactos/lib/msvcrt/time/tz_vars.c
Normal file
|
@ -0,0 +1,21 @@
|
|||
#include <msvcrt/string.h>
|
||||
#include <msvcrt/ctype.h>
|
||||
#include <msvcrt/stdlib.h>
|
||||
|
||||
|
||||
int _daylight;
|
||||
int _timezone;
|
||||
|
||||
|
||||
void _set_daylight_export(int value)
|
||||
{
|
||||
_daylight = value;
|
||||
}
|
||||
|
||||
void _set_timezone_export(int value)
|
||||
{
|
||||
_timezone = value;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue