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

Commit949ab3c

Browse files
committed
snprintf.c has no sys/ioctl.h. Trivial patch below:
Magnus Hagander
1 parent484f046 commit949ab3c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/port/snprintf.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040
Your platform must have a thread-safe snprintf() to compile with threads.
4141
#endif
4242

43+
#ifndefWIN32
4344
#include<sys/ioctl.h>
45+
#endif
4446
#include<sys/param.h>
4547

4648

@@ -83,7 +85,7 @@ typedef unsigned long ulong_long;
8385
* causing nast effects.
8486
**************************************************************/
8587

86-
/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.6 2005/02/22 04:57:24 momjian Exp $";*/
88+
/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.7 2005/02/28 14:16:16 momjian Exp $";*/
8789
staticchar*end;
8890
staticintSnprfOverflow;
8991

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp