Psychtoolbox-3/Psychtoolbox-3 — pull request #126 by kleinerm (2013-05-14 23:10:40+00:00)
Title: Build fix for moglcore on NeuroDebian et al.

Use a #ifdef PTB_USE_WAFFLE instead of #ifdef LINUX to only enable the
special GLEW init code path for Linux if libwaffle is in use and we
therefore also employ our own patched GLEW library. This is important
because only our own GLEW version exports the function
glewContextInit(), but not a standard libGLEW v1.9, as used by
NeuroDebian/Debian/Ubuntu builds.

Default to classic "textbook" path which calls glewInit().
-> Should fix NeuroDebian build failure, does not require a new
standard PTB release.