glu.h needs to know about wchar_t -- stddef.h?
Bart Oldeman <[email protected]> Sat, 22 Nov 2003 13:11:05 +0000 (GMT)
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <Pine.LNX.4.44.0311221306200.20526-100000@enm-bo-lt.enm.bris.ac.uk> |
Hi, not sure if this is the best way to fix, but without it including glu.h is problematic without including some std header beforehand, for the new GLAPI const wchar_t * APIENTRY gluErrorUnicodeStringEXT (GLenum error); prototype which was added on 2003-09-24. Bart 2003-11-22 Bart Oldeman <[email protected]> * include/GL/glu.h: needs to #include <stddef.h> for wchar_t. --- glu.h.~1.4.~ Wed Oct 29 23:53:55 2003 +++ glu.h Sat Nov 22 13:03:25 2003 @@ -40,6 +40,8 @@ extern "C" { #endif +#include <stddef.h> + /*************************************************************/ /* Boolean */ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/