Move definition of TZNAME_ENCODING further up.
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 long main_thread;
 
-#define TZNAME_ENCODING "utf-8"
-
 #if defined(__BORLANDC__)
 /* These overrides not needed for Win32 */
 #define timezone _timezone