diff options
Diffstat (limited to 'java/jc/files/patch-aa')
-rw-r--r-- | java/jc/files/patch-aa | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/java/jc/files/patch-aa b/java/jc/files/patch-aa deleted file mode 100644 index 3e29b913d7a4..000000000000 --- a/java/jc/files/patch-aa +++ /dev/null @@ -1,23 +0,0 @@ ---- classpath-0.07/native/target/generic/target_generic_file.h 2003/11/02 15:51:19 1.11 -+++ classpath-0.07/native/target/generic/target_generic_file.h 2004/01/27 20:47:54 1.13 -@@ -58,6 +58,7 @@ - - #include <stdlib.h> - #include <assert.h> -+#include <fcntl.h> - - #include "target_native.h" - #include "target_native_math_int.h" -@@ -90,7 +91,11 @@ - #define TARGET_NATIVE_FILE_FILEFLAG_APPEND O_APPEND - #endif - #ifndef TARGET_NATIVE_FILE_FILEFLAG_SYNC -- #define TARGET_NATIVE_FILE_FILEFLAG_SYNC O_SYNC -+ #if !defined (O_SYNC) && defined (O_FSYNC) -+ #define TARGET_NATIVE_FILE_FILEFLAG_SYNC O_FSYNC -+ #else -+ #define TARGET_NATIVE_FILE_FILEFLAG_SYNC O_SYNC -+ #endif - #endif - #ifndef TARGET_NATIVE_FILE_FILEFLAG_DSYNC - #ifdef O_DSYNC |