Allow disabling fopen in SIMD
This commit is contained in:
@@ -79,6 +79,10 @@ check_feature(char *buffer, char *feature)
|
||||
LOCAL(int)
|
||||
parse_proc_cpuinfo(int bufsize)
|
||||
{
|
||||
#ifdef NO_PROC_FOPEN
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
char *buffer = (char *)malloc(bufsize);
|
||||
FILE *fd;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user