added some comments on the modifications done into the code

This commit is contained in:
Joachim
2020-03-24 11:21:27 +01:00
parent edc7e1c033
commit 7742d416d4
9 changed files with 13 additions and 3 deletions

View File

@ -942,6 +942,7 @@ int cv::getNumberOfCPUs(void)
#endif
// esp32 doesn't support sysconf call. FIXME: add support
#if !defined(_WIN32) && !defined(__APPLE__) && !defined(ESP32)
static unsigned cpu_count_sysconf = (unsigned)sysconf( _SC_NPROCESSORS_ONLN );

View File

@ -1000,6 +1000,7 @@ String tempfile( const char* suffix )
fname = fname + "__opencv_temp.XXXXXX";
}
// FIXME: esp32 compilation only find mktemp and not mkstemp
//const int fd = mkstemp((char*)fname.c_str());
//if (fd == -1) return String();