Commit 8a7c866e authored by Martin v. Löwis's avatar Martin v. Löwis

Move definition of TZNAME_ENCODING further up.

parent 2b65c759
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#include "structseq.h" #include "structseq.h"
#include "timefuncs.h" #include "timefuncs.h"
#define TZNAME_ENCODING "utf-8"
#ifdef __APPLE__ #ifdef __APPLE__
#if defined(HAVE_GETTIMEOFDAY) && defined(HAVE_FTIME) #if defined(HAVE_GETTIMEOFDAY) && defined(HAVE_FTIME)
/* /*
...@@ -55,8 +57,6 @@ static BOOL WINAPI PyCtrlHandler(DWORD dwCtrlType) ...@@ -55,8 +57,6 @@ static BOOL WINAPI PyCtrlHandler(DWORD dwCtrlType)
} }
static long main_thread; static long main_thread;
#define TZNAME_ENCODING "utf-8"
#if defined(__BORLANDC__) #if defined(__BORLANDC__)
/* These overrides not needed for Win32 */ /* These overrides not needed for Win32 */
#define timezone _timezone #define timezone _timezone
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment