diff options
author | Wolfgang Hommel <wolfcw@users.noreply.github.com> | 2021-03-28 19:35:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-28 19:35:41 +0200 |
commit | f87c2f89151da8d6b16c8fc7cc02ca744ab94fab (patch) | |
tree | 6ac347844ac772648e375aa43214e380b2f7ecb5 | |
parent | ce1d39c98fa94af809c00f54c912d197e88c4119 (diff) | |
parent | 06d49adc12c5dfe878bf25d1b8e5888f324261a8 (diff) | |
download | libfaketime-f87c2f89151da8d6b16c8fc7cc02ca744ab94fab.tar.gz |
Merge pull request #318 from jimklimov/date-prog-sun
faketime.c: default to GNU date as "gdate" on Sun-related OSes
-rw-r--r-- | src/faketime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/faketime.c b/src/faketime.c index 5653a70..17356d5 100644 --- a/src/faketime.c +++ b/src/faketime.c @@ -50,7 +50,7 @@ const char version[] = "0.9.9"; -#ifdef __APPLE__ +#if (defined __APPLE__) || (defined __sun) static const char *date_cmd = "gdate"; #else static const char *date_cmd = "date"; |