From 1aa4d8de4da4f17c723a9b552a3c327d2c3ed589 Mon Sep 17 00:00:00 2001 From: schnetter Date: Wed, 25 May 2005 13:33:32 +0000 Subject: Make it compile git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@11 83718e91-0e4f-0410-abf4-91180603181f --- src/portal.cc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/portal.cc b/src/portal.cc index 93fed01..b8faae7 100644 --- a/src/portal.cc +++ b/src/portal.cc @@ -39,10 +39,12 @@ Formaline_Portal (CCTK_ARGUMENTS) /* Compiling */ +#if 0 { char const * const compile_user = CCTK_CompileUser(); conn.store ("compile user", compile_user); } +#endif { char const * const compile_date = CCTK_CompileDate(); @@ -58,10 +60,17 @@ Formaline_Portal (CCTK_ARGUMENTS) /* Running */ +#if 0 { char const * const run_user = CCTK_RunUser(); conn.store ("run user", run_user); } +#else + { + char const * const run_user = getenv ("USER"); + conn.store ("run user", run_user); + } +#endif { char run_date [1000]; -- cgit v1.2.3