forked from enlightenment/efl
evil: Add mkstemp macro for MSVC compatibility
This commit is contained in:
parent
733420f799
commit
191cb43c81
|
@ -82,6 +82,16 @@ EVIL_API int unsetenv(const char *name);
|
|||
*/
|
||||
EVIL_API char *mkdtemp(char *__template);
|
||||
|
||||
/**
|
||||
* @brief Create a unique temporary file name.
|
||||
*
|
||||
* @param __template Template of the file to create.
|
||||
* @return A file descriptor on success, -1 otherwise.
|
||||
*
|
||||
* @since ????
|
||||
*/
|
||||
#define mkstemp(__template) mkstemps(__template, 0)
|
||||
|
||||
/**
|
||||
* @brief Create a unique temporary file name with a suffix.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue