Module: Demos Branch: master Commit: c498fc4e40c9b0f62aa14263ebbf79f79a07d949 URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=c498fc4e40c9b0f62aa14263ebbf79f79a07d949
Author: José Fonseca <[email protected]> Date: Wed Jun 29 09:08:52 2011 +0100 glthreads: Remove #ifdef PTHREADS PTHREADS is never defined now, and there are other demos which assume pthreads is always present. --- src/xdemos/glthreads.c | 18 ------------------ 1 files changed, 0 insertions(+), 18 deletions(-) diff --git a/src/xdemos/glthreads.c b/src/xdemos/glthreads.c index ea54748..00db429 100644 --- a/src/xdemos/glthreads.c +++ b/src/xdemos/glthreads.c @@ -45,8 +45,6 @@ */ -#if defined(PTHREADS) /* defined by Mesa on Linux and other platforms */ - #include <assert.h> #include <GL/gl.h> #include <GL/glx.h> @@ -698,19 +696,3 @@ main(int argc, char *argv[]) return 0; } - - -#else /* PTHREADS */ - - -#include <stdio.h> - -int -main(int argc, char *argv[]) -{ - printf("Sorry, this program wasn't compiled with PTHREADS defined.\n"); - return 0; -} - - -#endif /* PTHREADS */ _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
