summaryrefslogtreecommitdiffstats
path: root/Modules/timemodule.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2007-08-30 15:40:24 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2007-08-30 15:40:24 (GMT)
commit8a7c866e18d12c9a666b556153555dc98c3f3f68 (patch)
tree20fca566955094749d7a64ea896ac9666610de80 /Modules/timemodule.c
parent2b65c7598817864397a3077cf1a914b3e566bc56 (diff)
downloadcpython-8a7c866e18d12c9a666b556153555dc98c3f3f68.zip
cpython-8a7c866e18d12c9a666b556153555dc98c3f3f68.tar.gz
cpython-8a7c866e18d12c9a666b556153555dc98c3f3f68.tar.bz2
Move definition of TZNAME_ENCODING further up.
Diffstat (limited to 'Modules/timemodule.c')
-rw-r--r--Modules/timemodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index ebea4fc..cd50594 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -5,6 +5,8 @@
#include "structseq.h"
#include "timefuncs.h"
+#define TZNAME_ENCODING "utf-8"
+
#ifdef __APPLE__
#if defined(HAVE_GETTIMEOFDAY) && defined(HAVE_FTIME)
/*
@@ -55,8 +57,6 @@ static BOOL WINAPI PyCtrlHandler(DWORD dwCtrlType)
}
static long main_thread;
-#define TZNAME_ENCODING "utf-8"
-
#if defined(__BORLANDC__)
/* These overrides not needed for Win32 */
#define timezone _timezone