How to find the gcc version in the C source code
The old compilers did not support the restrict keyword as
#include <stdio.h>
#include <xxxxx.h>
char * restrict cptr;
or
void * restrict vptr;
etc.
For Centos7, restrict is not available
For Fedora, and Suse and Ubuntu
restrict is available.
What is the Something and what are the ?????
In the code...
#if SOMETHING < ??????
#define restrict
#endif
|