- more changes for EVS decoder

This commit is contained in:
2020-06-27 15:40:08 +03:00
parent 345853f941
commit cb037b5ae0
7 changed files with 139 additions and 20 deletions

View File

@@ -34,7 +34,11 @@ void FileHelper::remove(const char* s)
std::string FileHelper::gettempname()
{
#if defined(TARGET_LINUX) || defined(TARGET_WIN)
#if defined(TARGET_LINUX)
char template_filename[L_tmpnam] = "rtphone_XXXXXXX.tmp";
mkstemp(template_filename);
return template_filename;
#elif defined(TARGET_WIN)
char buffer[L_tmpnam];
tmpnam(buffer);

View File

@@ -41,7 +41,7 @@ int iosVersion();
#include <sys/select.h>
#include <termios.h>
#if defined(TARGET_LINUX)
// # include <stropts.h>
//# include <stropts.h>
#endif
extern int _kbhit();