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

Commit490a918

Browse files
committed
Add missing float.h include to snprintf.c.
On windows _isnan() (which isnan() is redirected to in port/win32.h)is declared in float.h, not math.h.Per buildfarm animal currawong.Backpatch to all supported branches.
1 parent506a519 commit490a918

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/port/snprintf.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
#include"c.h"
3434

3535
#include<ctype.h>
36+
#ifdef_MSC_VER
37+
#include<float.h>/* for _isnan */
38+
#endif
3639
#include<limits.h>
3740
#include<math.h>
3841
#ifndefWIN32

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp