Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4547 → Rev 4548

/contrib/sdk/sources/Mesa/src/mapi/glapi/glapi.c
62,3 → 62,8
{
u_current_set((const struct mapi_table *) dispatch);
}
 
int atexit(void (*func)(void))
{
return 0;
};
/contrib/sdk/sources/Mesa/src/mapi/glapi/glapi.h
51,22 → 51,11
extern "C" {
#endif
 
 
#ifdef _GLAPI_NO_EXPORTS
# define _GLAPI_EXPORT
#else /* _GLAPI_NO_EXPORTS */
# ifdef _WIN32
# ifdef _GLAPI_DLL_EXPORTS
# define _GLAPI_EXPORT __declspec(dllexport)
# else
# define _GLAPI_EXPORT __declspec(dllimport)
# endif
# elif defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
# define _GLAPI_EXPORT __attribute__((visibility("default")))
# else
# define _GLAPI_EXPORT
# endif
#endif /* _GLAPI_NO_EXPORTS */
 
 
/* Is this needed? It is incomplete anyway. */