b55756f2a0
not ready yet...
13 lines
472 B
Plaintext
13 lines
472 B
Plaintext
$OpenBSD: patch-gcc_ada_adaint_c,v 1.1.1.1 2005/01/03 15:21:27 espie Exp $
|
|
--- gcc/ada/adaint.c.orig 2002-11-18 15:39:46.000000000 +0100
|
|
+++ gcc/ada/adaint.c 2003-11-10 20:03:52.000000000 +0100
|
|
@@ -632,7 +632,7 @@ __gnat_open_new_temp (path, fmode)
|
|
|
|
strcpy (path, "GNAT-XXXXXX");
|
|
|
|
-#if defined (linux) && !defined (__vxworks)
|
|
+#if (defined (linux) && !defined (__vxworks)) || defined(__OpenBSD__)
|
|
return mkstemp (path);
|
|
#elif defined (__Lynx__)
|
|
mktemp (path);
|