Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4548 → Rev 4358

/contrib/sdk/sources/Mesa/src/mapi/glapi/glapi.c
62,8 → 62,3
{
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,11 → 51,22
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. */