Patch: Add #include <stddef.h> in fastjar

Ranjit Mathew rmathew@hotmail.com
Sat Mar 8 18:12:00 GMT 2003


Mohan Embar wrote:
> 
> >BTW, if you just update your mingw-runtime package to the latest
> >release, this problem would be cured. It's really a deficiency
> >in older mingw-runtime releases where time.h did not indicate
> >that it "needs NULL" (see latest mingw-runtime time.h for
> >details on what this means).
> 
> Ranjit,
> 
> I thought I was using mingw-runtime-2.4. What is the latest release?

2.4 is indeed the latest stable release.

If you're using 2.4, this bit in time.h ensures that NULL is 
defined for it:
---------------------------------- 8< --------------------------------
#define __need_wchar_t
#define __need_size_t
#define __need_NULL
#ifndef RC_INVOKED
#include <stddef.h>
#endif	/* Not RC_INVOKED */
---------------------------------- 8< --------------------------------

Ranjit.

-- 
Ranjit Mathew        Email: rmathew AT hotmail DOT com
Bangalore,           
INDIA.               Web: http://ranjitmathew.tripod.com/



More information about the Java-patches mailing list