From 75f8438adcf8c498ee140fd389e762e52dbb9002 Mon Sep 17 00:00:00 2001 From: ikits Date: Mon, 2 Feb 2004 02:32:10 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@221 783a27ee-832a-0410-bc00-9f386506c6dd --- auto/src/glewinfo_post.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/auto/src/glewinfo_post.c b/auto/src/glewinfo_post.c index 6e378bc..fbb1fcc 100644 --- a/auto/src/glewinfo_post.c +++ b/auto/src/glewinfo_post.c @@ -4,7 +4,11 @@ /* ------------------------------------------------------------------------ */ +#if defined(_WIN32) || !defined(__APPLE__) || defined(GLEW_APPLE_GLX) int main (int argc, char** argv) +#else +int main (void) +#endif { GLuint err; @@ -65,7 +69,7 @@ int main (int argc, char** argv) glewInfo(); #if defined(_WIN32) wglewInfo(); -#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) +#else glxewInfo(); #endif if (f != stdout) fclose(f);