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

Commit6b4fe04

Browse files
committed
fix thinko in placement of TimeValStruct typedef in Windows case, as reported by Magnus.
1 parentcdcee16 commit6b4fe04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/bin/psql/common.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2006, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/common.h,v 1.52 2006/12/16 00:38:43 adunstan Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/common.h,v 1.53 2006/12/18 14:17:41 adunstan Exp $
77
*/
88
#ifndefCOMMON_H
99
#defineCOMMON_H
@@ -79,11 +79,11 @@ typedef struct timeval TimevalStruct;
7979
((int) ((T)->tv_usec - (U)->tv_usec))) / 1000.0)
8080
#else
8181

82-
typedefstruct_timebTimevalStruct;
83-
8482
#include<sys/types.h>
8583
#include<sys/timeb.h>
8684

85+
typedefstruct_timebTimevalStruct;
86+
8787
#defineGETTIMEOFDAY(T) _ftime(T)
8888
#defineDIFF_MSEC(T,U) \
8989
(((T)->time - (U)->time) * 1000.0 + \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp