mingw compilation fixes
This commit is contained in:
parent
f2dff606ef
commit
41a648c816
@ -42,7 +42,9 @@ static int des_setkey(const char *key);
|
||||
static int des_cipher(const char *in, char *out, long salt, int num_iter);
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
#ifndef __MINGW32__
|
||||
typedef __int32 int32_t;
|
||||
#endif
|
||||
#else
|
||||
#include <sys/cdefs.h>
|
||||
#endif
|
||||
|
@ -107,7 +107,7 @@ value is EAST and includes the DST offset.
|
||||
static int
|
||||
tz_offset()
|
||||
{
|
||||
#if defined(HAVE_VAR_TIMEZONE) || _WIN64
|
||||
#if defined(HAVE_VAR_TIMEZONE) || _WIN64 || _WIN32
|
||||
do_tzset();
|
||||
return timezone;
|
||||
#else
|
||||
|
Reference in New Issue
Block a user