adaint.c (__gnat_tmp_name): RTSS applications do not support tempnam nor tmpnam...
2008-08-01 Jose Ruiz <ruiz@adacore.com> * adaint.c (__gnat_tmp_name): RTSS applications do not support tempnam nor tmpnam, so we always use c:\WINDOWS\Temp\gnat-XXXXXX as temporary name. From-SVN: r138474
This commit is contained in:
parent
d628c01538
commit
e6d44fcae2
|
@ -982,7 +982,11 @@ __gnat_named_file_length (char *name)
|
|||
void
|
||||
__gnat_tmp_name (char *tmp_filename)
|
||||
{
|
||||
#ifdef __MINGW32__
|
||||
#ifdef RTX
|
||||
/* RTX in RTSS mode does not support tempnam nor tmpnam */
|
||||
strcpy (tmp_filename, "c:\\WINDOWS\\Temp\\gnat-XXXXXX");
|
||||
|
||||
#elif defined (__MINGW32__)
|
||||
{
|
||||
char *pname;
|
||||
|
||||
|
|
Loading…
Reference in New Issue