diff options
author | José Fonseca <jose.r.fonseca@gmail.com> | 2011-06-29 09:08:52 +0100 |
---|---|---|
committer | José Fonseca <jose.r.fonseca@gmail.com> | 2011-06-29 09:09:10 +0100 |
commit | c498fc4e40c9b0f62aa14263ebbf79f79a07d949 (patch) | |
tree | ad3d80f2c01e734efb5bc0ffeafa4a47b96e0f75 | |
parent | a05e5db67134086e4f2fc8480890a2b315c8c704 (diff) |
glthreads: Remove #ifdef PTHREADS
PTHREADS is never defined now, and there are other demos which assume
pthreads is always present.
-rw-r--r-- | 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 ea547487..00db4292 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 */ |