X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Futil.cc;h=ebca51d51ef0f6fe38c4a4ee4fcbebdaa4c3fe62;hb=85b0dc80cff679d964820159de018a6e89997184;hp=91d6f13a5471f98b69c71744216a03f3c638c571;hpb=35fcb62ddd4861f857d93941407e3d87d444b2cc;p=chaz%2Fopenbox 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 + +}