freebsd-ports/www/wt3/files/patch-examples_te-benchmark_benchmark.cpp
Rene Ladan 187a48a29d Fix, repocopy and update www/wt to version 3.4.0 as wwww/wt3
PR:		226160
Submitted by:	maintainer
2019-08-18 18:43:56 +00:00

13 lines
315 B
C++

--- examples/te-benchmark/benchmark.cpp.orig 2017-08-16 16:07:38 UTC
+++ examples/te-benchmark/benchmark.cpp
@@ -23,6 +23,10 @@
#include <boost/random/taus88.hpp>
#include <boost/thread/tss.hpp>
+#ifndef WT_WIN32
+extern char **environ;
+#endif // WT_WIN32
+
class MyMessage {
public:
std::string message;