if (gettimeofday(&tv[0], NULL))
err(1, "gettimeofday");
+#ifndef __APPLE__
while ((ch = getopt(argc, argv, "acfhmr:t:")) != -1)
+#else
+ while ((ch = getopt(argc, argv, "acfmr:t:")) != -1)
+#endif
switch(ch) {
case 'a':
aflag = 1;
void
usage(void)
{
+#ifndef __APPLE__
(void)fprintf(stderr, "usage: touch [-acfhm] [-r file] [-t [[CC]YY]MMDDhhmm[.SS]] file ...\n");
+#else
+ (void)fprintf(stderr, "usage: touch [-acfm] [-r file] [-t [[CC]YY]MMDDhhmm[.SS]] file ...\n");
+#endif
exit(1);
}