freebsd-ports/games/burrtools/files/patch-src::lib::stl.cpp
Ying-Chieh Liao 0a8063720b upgrade to 0.4.1
drop maintainership
2008-08-29 16:21:16 +00:00

20 lines
462 B
C++

--- src/lib/stl.cpp.orig 2008-08-30 00:13:04.000000000 +0800
+++ src/lib/stl.cpp 2008-08-30 00:14:23.000000000 +0800
@@ -21,6 +21,9 @@
#include <math.h>
#include <string.h>
+#if defined(__FreeBSD__)
+#include <libgen.h>
+#else
#if defined(WIN32) || defined(__APPLE__)
const char * basename(const char * name) {
const char * res1 = strchr(name, '/');
@@ -36,6 +39,7 @@
return res;
}
#endif
+#endif
void stlExporter_c::open(const char * name) {