[Python-3000-checkins] r57729 - python/branches/py3k/Modules/timemodule.c

martin.v.loewis python-3000-checkins at python.org
Thu Aug 30 17:40:24 CEST 2007


Author: martin.v.loewis
Date: Thu Aug 30 17:40:24 2007
New Revision: 57729

Modified:
   python/branches/py3k/Modules/timemodule.c
Log:
Move definition of TZNAME_ENCODING further up.

Modified: python/branches/py3k/Modules/timemodule.c
==============================================================================
--- python/branches/py3k/Modules/timemodule.c	(original)
+++ python/branches/py3k/Modules/timemodule.c	Thu Aug 30 17:40:24 2007
@@ -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 long main_thread;
 
-#define TZNAME_ENCODING "utf-8"
-
 #if defined(__BORLANDC__)
 /* These overrides not needed for Win32 */
 #define timezone _timezone


More information about the Python-3000-checkins mailing list