diff options
author | schnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f> | 2005-05-25 13:33:32 +0000 |
---|---|---|
committer | schnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f> | 2005-05-25 13:33:32 +0000 |
commit | 1aa4d8de4da4f17c723a9b552a3c327d2c3ed589 (patch) | |
tree | 0dada42236795a3657d013615f5cf7d18ff5aedf /src/portal.cc | |
parent | 8dbf9c7c00be5eed3f41f715626d012a7fecfcfc (diff) |
Make it compile
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@11 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'src/portal.cc')
-rw-r--r-- | src/portal.cc | 9 |
1 files changed, 9 insertions, 0 deletions
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]; |