Permalink
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...
1 parent f62d127 commit 3afaf1fae47cc8fa6eaeac7b3b9cff520e554f40 @ttilley ttilley committed Jan 1, 2013
Showing with 8 additions and 2 deletions.
  1. +8 −2 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");
}

0 comments on commit 3afaf1f

Please sign in to comment.