mirror of
https://gitcode.com/gh_mirrors/es/esp32-opencv.git
synced 2025-08-17 04:42:16 +08:00
added some comments on the modifications done into the code
This commit is contained in:
@ -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 );
|
||||
|
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user