-
Bug
-
Resolution: Fixed
-
P5
-
8
-
b15
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8018871 | 7u45 | Philip Race | P5 | Closed | Fixed | b01 |
JDK-2226637 | 7u40 | Edvard Wendelin | P4 | Closed | Fixed | b01 |
http://mail.openjdk.java.net/pipermail/2d-dev/2011-November/002248.html
On 11/14/2011 9:59 AM, Charles Lee wrote:
> Hi guys,
>
> I'd like to propose a change in mlib_types.h, it looks loke:
>
> -#if defined(__linux__)
> -#include <stdint.h> /* for uintptr_t */
> -#include <malloc.h> /* for ptrdiff_t */
> -#else
> -#include <link.h> /* for uintptr_t */
> -#include <stddef.h> /* for ptrdiff_t */
> -#endif /* __linux__ */
> +#include <stdint.h>
> +#include <stddef.h>
>
> The patch is mainly about using POSIX complaint headers to get rid of
> the if/else define.
>
> I have check uintptr_t on the solaris 11 express. It will be included in
> stdint.h. And my ubuntu works where which malloc.h changed to stddef.h.
On 11/14/2011 9:59 AM, Charles Lee wrote:
> Hi guys,
>
> I'd like to propose a change in mlib_types.h, it looks loke:
>
> -#if defined(__linux__)
> -#include <stdint.h> /* for uintptr_t */
> -#include <malloc.h> /* for ptrdiff_t */
> -#else
> -#include <link.h> /* for uintptr_t */
> -#include <stddef.h> /* for ptrdiff_t */
> -#endif /* __linux__ */
> +#include <stdint.h>
> +#include <stddef.h>
>
> The patch is mainly about using POSIX complaint headers to get rid of
> the if/else define.
>
> I have check uintptr_t on the solaris 11 express. It will be included in
> stdint.h. And my ubuntu works where which malloc.h changed to stddef.h.
- backported by
-
JDK-2226637 Use POSIX compliant include file headers in sun/awt/medialib/mlib_types.h
-
- Closed
-
-
JDK-8018871 Use POSIX compliant include file headers in sun/awt/medialib/mlib_types.h
-
- Closed
-