File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 6
6
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
7
7
*
8
8
* IDENTIFICATION
9
- * $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.5 2004/05/01 01:38:53 momjian Exp $
9
+ * $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.6 2004/05/01 22:07:03 momjian Exp $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
@@ -33,15 +33,17 @@ pg_TZDIR(void)
33
33
#endif
34
34
35
35
canonicalize_path (tzdir );
36
- #if 0
36
+ #ifdef WIN32
37
+ /* trim off binary name, then go up a directory */
37
38
if ((p = last_path_separator (tzdir )) == NULL )
38
39
return NULL ;
39
40
else
40
41
* p = '\0' ;
42
+ strcat (tzdir , "/../share/timezone" );
41
43
#endif
42
-
43
44
strcat (tzdir , "/timezone" );
44
45
46
+
45
47
done_tzdir = 1 ;
46
48
return tzdir ;
47
49
}
You can’t perform that action at this time.
0 commit comments