Commit 63854c11 authored by Scott Cantor's avatar Scott Cantor
Browse files

Get DATADIR defined for Windows.

parent d6f327fe
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
#include <log4shib/Category.hh> #include <log4shib/Category.hh>
#include <log4shib/PropertyConfigurator.hh> #include <log4shib/PropertyConfigurator.hh>
#ifdef WIN32
# define DATADIR "."
#endif
int main(int argc, char* argv[]) int main(int argc, char* argv[])
{ {
std::string initFileName = argc > 1 ? argv[1] : DATADIR "/sscpp706.txt"; std::string initFileName = argc > 1 ? argv[1] : DATADIR "/sscpp706.txt";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment