From 58ca782e5e787654cbed451b345da16bf4107ec3 Mon Sep 17 00:00:00 2001 From: "K. Noel Belcourt" Date: Tue, 20 Jul 2010 17:13:19 +0000 Subject: [PATCH] Replace C++ (//) comments with C block comments (/* ... */). This is one problem killing Itanium builds. One more to go. [SVN r64204] --- src/engine/src/jam.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/engine/src/jam.c b/src/engine/src/jam.c index 68bcba42d..99045441f 100644 --- a/src/engine/src/jam.c +++ b/src/engine/src/jam.c @@ -575,7 +575,7 @@ char *executable_path(char *arvg0) { if (ret == 0 || ret == sizeof(buf)) return NULL; return strdup (buf); } -#elif defined(__APPLE__) // Not tested +#elif defined(__APPLE__) /* Not tested */ #include char *executable_path(char *arvg0) { char buf[1024]; @@ -584,7 +584,7 @@ char *executable_path(char *arvg0) { if (ret != 0) return NULL; return strdup(buf); } -#elif defined(sun) || defined(__sun) // Not tested +#elif defined(sun) || defined(__sun) /* Not tested */ #include char *executable_path(char *arvg0) { @@ -614,8 +614,7 @@ char *executable_path(char *arvg0) { } #else char *executable_path(char *arvg0) { - // If argv0 is absolute path, assume it's the right - // absolute path. + /* If argv0 is absolute path, assume it's the right absolute path. */ if (argv0[0] == "/") return strdup(argv0); return NULL;