VirtualBox

Changeset 1995 in kBuild


Ignore:
Timestamp:
Oct 29, 2008 4:07:50 AM (16 years ago)
Author:
bird
Message:

shut up some warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/filedef.h

    r1993 r1995  
    209209/* The smallest and largest ordinary timestamps.  */
    210210#define ORDINARY_MTIME_MIN (OLD_MTIME + 1)
     211#if FILE_TIMESTAMP_HI_RES == 0 /* bird: shut up annoying warnings!
     212  ASSUMES: unsinged FILE_TIMESTAMP ++. */
     213# define ORDINARY_MTIME_MAX  ( ~ (FILE_TIMESTAMP) 0 )
     214#else
    211215#define ORDINARY_MTIME_MAX ((FILE_TIMESTAMP_S (NEW_MTIME) \
    212216                             << FILE_TIMESTAMP_LO_BITS) \
    213                             + ORDINARY_MTIME_MIN + (FILE_TIMESTAMPS_PER_S - 1)) /* bird: MSC overflow fix - XXX: darwin is bitching, check it again, org: ORDINARY_MTIME_MIN + FILE_TIMESTAMPS_PER_S - 1) */
     217                            + ORDINARY_MTIME_MIN + FILE_TIMESTAMPS_PER_S - 1)
     218#endif
    214219
    215220/* Modtime value to use for `infinitely new'.  We used to get the current time
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette