Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb493b39

Browse files
committed
Move TIMEZONE_GLOBAL out into the proper place.
1 parentcec5d26 commitb493b39

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

‎src/include/port.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $PostgreSQL: pgsql/src/include/port.h,v 1.60 2004/09/0900:59:41 momjian Exp $
9+
* $PostgreSQL: pgsql/src/include/port.h,v 1.61 2004/09/0914:18:20 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -150,6 +150,15 @@ extern intpgkill(int pid, int sig);
150150

151151
externintpclose_check(FILE*stream);
152152

153+
/* Global variable holding time zone information. */
154+
#ifndef__CYGWIN__
155+
#defineTIMEZONE_GLOBAL timezone
156+
#defineTZNAME_GLOBAL tzname
157+
#else
158+
#defineTIMEZONE_GLOBAL _timezone
159+
#defineTZNAME_GLOBAL _tzname
160+
#endif
161+
153162
#if defined(WIN32)|| defined(__CYGWIN__)
154163
/*
155164
*Win32 doesn't have reliable rename/unlink during concurrent access,
@@ -180,15 +189,6 @@ extern intwin32_open(const char *, int,...);
180189
#definepclose(a) _pclose(a)
181190
#endif
182191

183-
/* Global variable holding time zone information. */
184-
#ifndef__CYGWIN__
185-
#defineTIMEZONE_GLOBAL timezone
186-
#defineTZNAME_GLOBAL tzname
187-
#else
188-
#defineTIMEZONE_GLOBAL _timezone
189-
#defineTZNAME_GLOBAL _tzname
190-
#endif
191-
192192
externintcopydir(char*fromdir,char*todir);
193193

194194
/* Missing rand functions */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp