diff options
Diffstat (limited to 'otk/util.cc')
| -rw-r--r-- | otk/util.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/otk/util.cc b/otk/util.cc index 91d6f13a..ebca51d5 100644 --- a/otk/util.cc +++ b/otk/util.cc @@ -101,14 +101,12 @@ string itostring(long i) { return tmp; } -} - -#ifndef HAVE_BASENAME string basename (const string& path) { string::size_type slash = path.rfind('/'); if (slash == string::npos) return path; return path.substr(slash+1); } -#endif // HAVE_BASENAME + +} |
