mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 15:44:04 +02:00
CrtLibSupport: add timezone
Will be needed by openssl-3.2.x Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
0ec54d8d0c
commit
c371460cb4
@ -69,3 +69,5 @@ gettimeofday (
|
|||||||
tv->tv_usec = 0;
|
tv->tv_usec = 0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long timezone;
|
||||||
|
@ -20,6 +20,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
|||||||
#define SECSPERHOUR (60 * 60)
|
#define SECSPERHOUR (60 * 60)
|
||||||
#define SECSPERDAY (24 * SECSPERHOUR)
|
#define SECSPERDAY (24 * SECSPERHOUR)
|
||||||
|
|
||||||
|
long timezone;
|
||||||
|
|
||||||
//
|
//
|
||||||
// The arrays give the cumulative number of days up to the first of the
|
// The arrays give the cumulative number of days up to the first of the
|
||||||
// month number used as the index (1 -> 12) for regular and leap years.
|
// month number used as the index (1 -> 12) for regular and leap years.
|
||||||
|
@ -123,4 +123,5 @@ gettimeofday (
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int errno = 0;
|
int errno = 0;
|
||||||
|
long timezone;
|
||||||
|
@ -160,6 +160,7 @@ struct sockaddr {
|
|||||||
//
|
//
|
||||||
extern int errno;
|
extern int errno;
|
||||||
extern FILE *stderr;
|
extern FILE *stderr;
|
||||||
|
extern long timezone;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Function prototypes of CRT Library routines
|
// Function prototypes of CRT Library routines
|
||||||
|
Loading…
x
Reference in New Issue
Block a user