FreeBSD Bugzilla – Attachment 28011 Details for
Bug 47300
-Wundef generates warning when compiling with /usr/include/sys/cdefs.h
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 775 bytes, created by
Brian Minard
on 2003-01-21 16:00:17 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Brian Minard
Created:
2003-01-21 16:00:17 UTC
Size:
775 bytes
patch
obsolete
>Index: cdefs.h >=================================================================== >RCS file: /home/ncvs/src/sys/sys/cdefs.h,v >retrieving revision 1.28.2.8 >diff -c -r1.28.2.8 cdefs.h >*** cdefs.h 2002/09/18 04:05:13 1.28.2.8 >--- cdefs.h 2003/01/21 15:24:35 >*************** >*** 270,275 **** >--- 270,276 ---- > */ > > /* Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1. */ >+ #ifdef _POSIX_C_SOURCE > #if _POSIX_C_SOURCE == 1 > #undef _POSIX_C_SOURCE /* Probably illegal, but beyond caring now. */ > #define _POSIX_C_SOURCE 199009 >*************** >*** 279,284 **** >--- 280,286 ---- > #if _POSIX_C_SOURCE == 2 > #undef _POSIX_C_SOURCE > #define _POSIX_C_SOURCE 199209 >+ #endif > #endif > > /* Deal with various X/Open Portability Guides and Single UNIX Spec. */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47300
: 28011