# HG changeset patch # User Sebastien Jodogne # Date 1589558600 -7200 # Node ID 5128b448a6ee92b5e357f017d6e6b258076fc825 # Parent 6be54098dba3b3b2763a730fac024e870cb3ebe2 yet another try to fix OS X diff -r 6be54098dba3 -r 5128b448a6ee Samples/Sdl/RtViewer/RtViewerSdl.cpp --- a/Samples/Sdl/RtViewer/RtViewerSdl.cpp Fri May 15 17:42:59 2020 +0200 +++ b/Samples/Sdl/RtViewer/RtViewerSdl.cpp Fri May 15 18:03:20 2020 +0200 @@ -44,7 +44,12 @@ #include -static void APIENTRY /* GLAPIENTRY */ +#if !defined(GLAPIENTRY) +// For OS X compatibility +# define GLAPIENTRY +#endif + +static void GLAPIENTRY OpenGLMessageCallback(GLenum source, GLenum type, GLuint id,