Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
6b2a9b30
Commit
6b2a9b30
authored
Sep 27, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added implementation of _dstbias and __p__dstbias.
Added macros for _dstbias, _daylight, _timezone and _tzname.
parent
b09582a8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
3 deletions
+23
-3
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+2
-2
time.c
dlls/msvcrt/time.c
+13
-0
time.h
include/msvcrt/time.h
+8
-1
No files found.
dlls/msvcrt/msvcrt.spec
View file @
6b2a9b30
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
@ cdecl __p__amblksiz()
@ cdecl __p__amblksiz()
@ cdecl __p__commode()
@ cdecl __p__commode()
@ cdecl __p__daylight() MSVCRT___p__daylight
@ cdecl __p__daylight() MSVCRT___p__daylight
@
stub __p__dstbias #
()
@
cdecl __p__dstbias
()
@ cdecl __p__environ()
@ cdecl __p__environ()
@ stub __p__fileinfo #()
@ stub __p__fileinfo #()
@ cdecl __p__fmode()
@ cdecl __p__fmode()
...
@@ -194,7 +194,7 @@
...
@@ -194,7 +194,7 @@
@ extern _ctype MSVCRT__ctype
@ extern _ctype MSVCRT__ctype
@ cdecl _cwait(ptr long long)
@ cdecl _cwait(ptr long long)
@ extern _daylight MSVCRT___daylight
@ extern _daylight MSVCRT___daylight
# extern
_dstbias
@ extern _dstbias MSVCRT_
_dstbias
@ cdecl _dup (long)
@ cdecl _dup (long)
@ cdecl _dup2 (long long)
@ cdecl _dup2 (long long)
@ cdecl _ecvt(double long ptr ptr)
@ cdecl _ecvt(double long ptr ptr)
...
...
dlls/msvcrt/time.c
View file @
6b2a9b30
...
@@ -311,6 +311,19 @@ int *MSVCRT___p__daylight(void)
...
@@ -311,6 +311,19 @@ int *MSVCRT___p__daylight(void)
}
}
/*********************************************************************
/*********************************************************************
* _dstbias (MSVCRT.@)
*/
int
MSVCRT__dstbias
=
0
;
/*********************************************************************
* __p_dstbias (MSVCRT.@)
*/
int
*
__p__dstbias
(
void
)
{
return
&
MSVCRT__dstbias
;
}
/*********************************************************************
* _timezone (MSVCRT.@)
* _timezone (MSVCRT.@)
*/
*/
long
MSVCRT___timezone
=
0
;
long
MSVCRT___timezone
=
0
;
...
...
include/msvcrt/time.h
View file @
6b2a9b30
...
@@ -76,8 +76,15 @@ struct tm {
...
@@ -76,8 +76,15 @@ struct tm {
extern
"C"
{
extern
"C"
{
#endif
#endif
/* FIXME: Must do something for _daylight, _dstbias, _timezone, _tzname */
#define _daylight (*__p__daylight())
#define _dstbias (*__p__dstbias())
#define _timezone (*__p__timezone())
#define _tzname (__p__tzname())
int
*
__p__daylight
(
void
);
long
*
__p__dstbias
(
void
);
long
*
__p__timezone
(
void
);
char
**
__p__tzname
(
void
);
unsigned
_getsystime
(
struct
tm
*
);
unsigned
_getsystime
(
struct
tm
*
);
unsigned
_setsystime
(
struct
tm
*
,
unsigned
);
unsigned
_setsystime
(
struct
tm
*
,
unsigned
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment