]> granicus.if.org Git - python/commitdiff
Move definition of TZNAME_ENCODING further up.
authorMartin v. Löwis <martin@v.loewis.de>
Thu, 30 Aug 2007 15:40:24 +0000 (15:40 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Thu, 30 Aug 2007 15:40:24 +0000 (15:40 +0000)
Modules/timemodule.c

index ebea4fc6aee789b0efc9f9058ae4857426b6e2f4..cd50594f2b128bfb3750fb2e9305abc89cc1d5f6 100644 (file)
@@ -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