]> granicus.if.org Git - strace/blobdiff - largefile_wrappers.h
nlattr: add unsigned int decoders that print in hex form
[strace] / largefile_wrappers.h
index 2cdd5ad975d7b6da23b52ada4048db25a64bfe8d..b5e49ad50c4af13c73468dcb44d0421ec2719cf8 100644 (file)
 
 #ifdef _LARGEFILE64_SOURCE
 # ifdef HAVE_FOPEN64
-#  define fopen_for_input fopen64
-#  define fopen_for_output fopen64
+#  define fopen_stream fopen64
 # else
-#  define fopen_for_input fopen
-#  define fopen_for_output fopen
+#  define fopen_stream fopen
 # endif
 # define struct_stat struct stat64
 # define stat_file stat64
@@ -48,8 +46,7 @@
 # define struct_rlimit struct rlimit64
 # define set_rlimit setrlimit64
 #else
-# define fopen_for_input fopen
-# define fopen_for_output fopen
+# define fopen_stream fopen
 # define struct_stat struct stat
 # define stat_file stat
 # define struct_dirent struct dirent