From cfe6ed7c484b62d07bae23c528f0e2e568cf0d65 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Thu, 17 Feb 2005 03:40:17 -0500 Subject: [PATCH] Fix compile on linux sim/main.cc: For some unknown reason linux's basename doesn't take a const char * --HG-- extra : convert_revision : 30289195881e16a05429f7025abab7914a9e3eb6 --- sim/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/main.cc b/sim/main.cc index d4c31d5f2..891931c2b 100644 --- a/sim/main.cc +++ b/sim/main.cc @@ -108,7 +108,7 @@ abortHandler(int sigtype) } /// Simulator executable name -const char *myProgName = ""; +char *myProgName = ""; /// Show brief help message. void -- 2.30.2