diff -r 82d8da1d79c7 -r 24381b61de5c hostsupport/hostopengles20/src/context.h --- a/hostsupport/hostopengles20/src/context.h Wed Nov 10 15:26:31 2010 +0000 +++ b/hostsupport/hostopengles20/src/context.h Fri Nov 12 17:56:05 2010 +0000 @@ -29,10 +29,6 @@ #ifndef _GLESCONTEXT_H_ #define _GLESCONTEXT_H_ -#ifdef __cplusplus -extern "C" { -#endif - #include "platform.h" #include "degl.h" #include "vertex.h" @@ -42,6 +38,10 @@ #include "texture.h" #include "fbo.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef struct DGLContext { GLboolean initialized;