/[classpath]/classpath/native/target/generic/target_generic_file.h
ViewVC logotype

Diff of /classpath/native/target/generic/target_generic_file.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by rupp, Thu Jul 10 08:13:57 2003 UTC revision 1.6 by rupp, Wed Jul 16 13:30:56 2003 UTC
# Line 399  extern "C" { Line 399  extern "C" {
399        do { \        do { \
400          ssize_t __n; \          ssize_t __n; \
401          \          \
402          result=(ioctl(filedescriptor,FIONREAD,(char*)&n)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \          result=(ioctl(filedescriptor,FIONREAD,(char*)&__n)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
403          length=TARGET_NATIVE_MATH_INT_INT32_TO_INT64(n); \          length=TARGET_NATIVE_MATH_INT_INT32_TO_INT64(__n); \
404        } while (0)        } while (0)
405    #elif defined(HAVE_FSTAT)    #elif defined(HAVE_FSTAT)
406      #include <sys/types.h>      #include <sys/types.h>
# Line 624  extern "C" { Line 624  extern "C" {
624    #include <sys/types.h>    #include <sys/types.h>
625    #include <sys/stat.h>    #include <sys/stat.h>
626    #include <unistd.h>    #include <unistd.h>
627    #include <utime.h>    #ifdef HAVE_UTIME
628        #include <utime.h>
629      #elif HAVE_SYS_UTIME
630        #include <sys/utime.h>
631      #else
632        #error utime.h not found. Please check configuration.
633      #endif
634    #define TARGET_NATIVE_FILE_SET_LAST_MODIFIED(filename,time,result) \    #define TARGET_NATIVE_FILE_SET_LAST_MODIFIED(filename,time,result) \
635      do { \      do { \
636        struct stat    __statBuffer; \        struct stat    __statBuffer; \

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26