aboutsummaryrefslogtreecommitdiff
path: root/misc/mkstemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mkstemp.c')
-rw-r--r--misc/mkstemp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/mkstemp.c b/misc/mkstemp.c
index c03516b..c10bdd9 100644
--- a/misc/mkstemp.c
+++ b/misc/mkstemp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999, 2001, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -32,3 +32,7 @@ mkstemp (template)
{
return __gen_tempname (template, 0, 0, __GT_FILE);
}
+
+#if !defined O_LARGEFILE || O_LARGEFILE == 0
+weak_alias (mkstemp, mkstemp64)
+#endif