Update of /cvsroot/openvrml/openvrml/src/libopenvrml-gl/openvrml/gl
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29842/src/libopenvrml-gl/openvrml/gl
Modified Files:
viewer.cpp
Log Message:
Don't apply __stdcall__ attribute if we're building with Cygwin X11's glu.h.
Index: viewer.cpp
===================================================================
RCS file: /cvsroot/openvrml/openvrml/src/libopenvrml-gl/openvrml/gl/viewer.cpp,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** viewer.cpp 31 Aug 2006 07:28:13 -0000 1.46
--- viewer.cpp 10 Oct 2006 21:50:05 -0000 1.47
***************
*** 73,77 ****
# endif
! # if defined(__CYGWIN__) || defined(__MINGW32__)
# define OPENVRML_GL_CALLBACK_ __attribute__ ((__stdcall__))
# elif defined (_WIN32)
--- 73,77 ----
# endif
! # if (defined(__CYGWIN__) && defined(X_DISPLAY_MISSING)) || defined(__MINGW32__)
# define OPENVRML_GL_CALLBACK_ __attribute__ ((__stdcall__))
# elif defined (_WIN32)
|