885 extern Boolean make_word_mentioned;
886 extern Makefile_type makefile_type;
887 extern char mbs_buffer[];
888 extern Name path_name;
889 extern Boolean posix;
890 extern Name query;
891 extern Boolean query_mentioned;
892 extern Name hat;
893 extern Boolean reading_environment;
894 extern Name shell_name;
895 extern Boolean svr4;
896 extern Name target_arch;
897 extern Name target_mach;
898 extern Boolean tilde_rule;
899 extern wchar_t wcs_buffer[];
900 extern Boolean working_on_targets;
901 extern Name virtual_root;
902 extern Boolean vpath_defined;
903 extern Name vpath_name;
904 extern Boolean make_state_locked;
905 #if defined (TEAMWARE_MAKE_CMN) && defined(REDIRECT_ERR)
906 extern Boolean out_err_same;
907 #endif
908 extern pid_t childPid;
909 extern nl_catd libmksh_catd;
910
911 /*
912 * RFE 1257407: make does not use fine granularity time info available from stat.
913 * High resolution time comparison.
914 */
915
916 inline int
917 operator==(const timestruc_t &t1, const timestruc_t &t2) {
918 return ((t1.tv_sec == t2.tv_sec) && (t1.tv_nsec == t2.tv_nsec));
919 }
920
921 inline int
922 operator!=(const timestruc_t &t1, const timestruc_t &t2) {
923 return ((t1.tv_sec != t2.tv_sec) || (t1.tv_nsec != t2.tv_nsec));
924 }
925
|
885 extern Boolean make_word_mentioned;
886 extern Makefile_type makefile_type;
887 extern char mbs_buffer[];
888 extern Name path_name;
889 extern Boolean posix;
890 extern Name query;
891 extern Boolean query_mentioned;
892 extern Name hat;
893 extern Boolean reading_environment;
894 extern Name shell_name;
895 extern Boolean svr4;
896 extern Name target_arch;
897 extern Name target_mach;
898 extern Boolean tilde_rule;
899 extern wchar_t wcs_buffer[];
900 extern Boolean working_on_targets;
901 extern Name virtual_root;
902 extern Boolean vpath_defined;
903 extern Name vpath_name;
904 extern Boolean make_state_locked;
905 #if defined (TEAMWARE_MAKE_CMN)
906 extern Boolean out_err_same;
907 #endif
908 extern pid_t childPid;
909 extern nl_catd libmksh_catd;
910
911 /*
912 * RFE 1257407: make does not use fine granularity time info available from stat.
913 * High resolution time comparison.
914 */
915
916 inline int
917 operator==(const timestruc_t &t1, const timestruc_t &t2) {
918 return ((t1.tv_sec == t2.tv_sec) && (t1.tv_nsec == t2.tv_nsec));
919 }
920
921 inline int
922 operator!=(const timestruc_t &t1, const timestruc_t &t2) {
923 return ((t1.tv_sec != t2.tv_sec) || (t1.tv_nsec != t2.tv_nsec));
924 }
925
|