Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
556B

  1. By the comment's own admission, this cannot affect on-disk nor ABI because
  2. 'long' varies per architecture. So, this change is always correct.
  3. --- db-5.3.28/src/dbinc/clock.h.old 2013-09-09 15:35:08.000000000 +0000
  4. +++ db-5.3.28/src/dbinc/clock.h 2020-01-31 19:22:11.630000000 +0000
  5. @@ -54,11 +54,7 @@
  6. */
  7. typedef struct {
  8. time_t tv_sec; /* seconds */
  9. -#ifdef HAVE_MIXED_SIZE_ADDRESSING
  10. - int32_t tv_nsec;
  11. -#else
  12. - long tv_nsec; /* nanoseconds */
  13. -#endif
  14. + time_t tv_nsec; /* nanoseconds */
  15. } db_timespec;
  16. /* Operations on timespecs */