home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / programm / language / gcc222.lha / os-include / devices / timer.gcc-diff
Encoding:
Text File  |  1992-08-10  |  592 b   |  32 lines

  1. *** timer.bak    Mon Aug 10 15:36:40 1992
  2. --- timer.h    Sun Dec 29 00:49:20 1991
  3. ***************
  4. *** 15,20 ****
  5. --- 15,22 ----
  6.   #include <exec/types.h>
  7.   #include <exec/io.h>
  8.   
  9. + #include <sys/time.h>
  10.   /* unit defintions */
  11.   #define UNIT_MICROHZ    0
  12.   #define UNIT_VBLANK    1
  13. ***************
  14. *** 24,33 ****
  15. --- 26,40 ----
  16.   
  17.   #define TIMERNAME    "timer.device"
  18.   
  19. + #if 0
  20.   struct timeval {
  21.       ULONG tv_secs;
  22.       ULONG tv_micro;
  23.   };
  24. + #endif
  25. + /* I want to use the definition in sys/time.h */
  26. + #define tv_secs  tv_sec
  27. + #define tv_micro tv_usec
  28.   
  29.   struct EClockVal {
  30.       ULONG ev_hi;
  31.