Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tweak --version output to include currently used arch so that I can b…

…e more confident when manually testing under rosetta (`arch -ppc fsevent_watch`) on 10.6
  • Loading branch information...
commit 3afaf1fae47cc8fa6eaeac7b3b9cff520e554f40 1 parent f62d127
@ttilley ttilley authored
Showing with 8 additions and 2 deletions.
  1. +8 −2 ext/fsevent_watch/cli.c
View
10 ext/fsevent_watch/cli.c
@@ -86,9 +86,15 @@ void cli_show_plist (void)
void cli_print_version (void)
{
- printf("%s %s\n", CLI_NAME, CLI_VERSION);
+ printf("%s %s\n\n", CLI_NAME, CLI_VERSION);
#ifdef COMPILED_AT
- printf("Compiled %s\n", COMPILED_AT);
+ printf("Compiled at: %s\n", COMPILED_AT);
+#endif
+#ifdef COMPILER
+ printf("Compiled with: %s\n", COMPILER);
+#endif
+#ifdef TARGET_CPU
+ printf("Compiled for: %s\n", TARGET_CPU);
#endif
printf("\n");
}
Please sign in to comment.
Something went wrong with that request. Please try again.