X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_internal.h;h=2f3155b6ad9b1a8f1a0d33b165894809504c628d;hb=bd13ff3040ea5d30009892eecc31854ed11ac408;hp=c8db7fab26e867ae9d3adc8f44b7a1b447db4d09;hpb=43db91d700145ae03ae7b83308a869aef5bd6eb0;p=freeglut diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index c8db7fa..2f3155b 100644 --- a/src/freeglut_internal.h +++ b/src/freeglut_internal.h @@ -47,7 +47,7 @@ || ( defined(__CYGWIN__) && defined(X_DISPLAY_MISSING) ) # define TARGET_HOST_MS_WINDOWS 1 -#elif defined(__posix__) || defined(__unix__) || defined(__linux__) +#elif defined(__posix__) || defined(__unix__) || defined(__linux__) || defined(__sun) # define TARGET_HOST_POSIX_X11 1 #elif defined(__APPLE__) @@ -825,7 +825,7 @@ void fgDestroyStructure( void ); /* A helper function to check if a display mode is possible to use */ #if TARGET_HOST_POSIX_X11 -GLXFBConfig* fgChooseFBConfig( void ); +GLXFBConfig* fgChooseFBConfig( int* numcfgs ); #endif /* The window procedure for Win32 events handling */