Allow disabling fopen in SIMD

This commit is contained in:
Kornel
2021-05-06 18:00:30 +01:00
parent 6c9f0897af
commit c2bc3511d5
5 changed files with 20 additions and 0 deletions

View File

@@ -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;