cmake PLIBSYS_HAS_GCC_VISIBILITY examples

saprykin/plibsys cmake/VisibilityDetect.cmake :32

check_c_source_compiles ("int main () {
                                        #if (__GNUC__ >= 4)   && !defined(_CRAYC) && \\\\
                                            !defined(__sun)   && !defined(sun)    && \\\\
                                            !defined(__hpux)  && !defined(hpux)   && \\\\
                                            !defined(__sgi)   && !defined(sgi)    && \\\\
                                            !defined(__osf__) && !defined(__osf)  && \\\\
                                            !defined(__OS2__) &&                     \\\\
                                            !defined(_AIX)    && !defined(__CYGWIN__) && !defined(__MSYS__)
                                        return 0;
                                        #else
                                        stop_compile_here
                                        #endif
                                 }"
                                 PLIBSYS_HAS_GCC_VISIBILITY
        )