CrtLibSupport: add timezone

Will be needed by openssl-3.2.x

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2024-06-11 12:09:23 +02:00 committed by mergify[bot]
parent 0ec54d8d0c
commit c371460cb4
4 changed files with 7 additions and 1 deletions

View File

@ -69,3 +69,5 @@ gettimeofday (
tv->tv_usec = 0;
return 0;
}
long timezone;

View File

@ -20,6 +20,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#define SECSPERHOUR (60 * 60)
#define SECSPERDAY (24 * SECSPERHOUR)
long timezone;
//
// 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.

View File

@ -124,3 +124,4 @@ gettimeofday (
}
int errno = 0;
long timezone;

View File

@ -160,6 +160,7 @@ struct sockaddr {
//
extern int errno;
extern FILE *stderr;
extern long timezone;
//
// Function prototypes of CRT Library routines