From 3f55550c148593f4a0db9eec939554bcf3f0bcd4 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 1 Aug 2012 11:09:48 -0700 Subject: Clean up mkstemps64 definition for O_LARGEFILE==0. --- misc/mkstemps.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'misc/mkstemps.c') diff --git a/misc/mkstemps.c b/misc/mkstemps.c index 26205dc1bb..79418c58df 100644 --- a/misc/mkstemps.c +++ b/misc/mkstemps.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2009 Free Software Foundation, Inc. +/* Copyright (C) 2009-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 @@ -40,3 +40,7 @@ mkstemps (template, suffixlen) return __gen_tempname (template, suffixlen, 0, __GT_FILE); } + +#if !defined O_LARGEFILE || O_LARGEFILE == 0 +weak_alias (mkstemps, mkstemps64) +#endif -- cgit 1.4.1