#ifdef _LARGEFILE64_SOURCE
# ifdef HAVE_FOPEN64
-# define fopen_for_output fopen64
+# define fopen_stream fopen64
# else
-# define fopen_for_output fopen
+# define fopen_stream fopen
# endif
# define struct_stat struct stat64
# define stat_file stat64
# define struct_rlimit struct rlimit64
# define set_rlimit setrlimit64
#else
-# define fopen_for_output fopen
+# define fopen_stream fopen
# define struct_stat struct stat
# define stat_file stat
# define struct_dirent struct dirent