These changes are currently required to successfully build Qt when it is
configured with a namespace via the configure -qtnamespace argument
Change-Id: I9f3ab30579c16085c4d3d05705336b810466c331
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
uint features = 0;
#if defined(Q_OS_LINUX)
- int auxv = ::qt_safe_open("/proc/self/auxv", O_RDONLY);
+ int auxv = qt_safe_open("/proc/self/auxv", O_RDONLY);
if (auxv != -1) {
unsigned long vector[64];
int nread;
while (features == 0) {
- nread = ::qt_safe_read(auxv, (char *)vector, sizeof vector);
+ nread = qt_safe_read(auxv, (char *)vector, sizeof vector);
if (nread <= 0) {
// EOF or error
break;
}
}
- ::qt_safe_close(auxv);
+ qt_safe_close(auxv);
return features;
}
// fall back if /proc/self/auxv wasn't found