[cpp-log4shib] branch master updated: Get DATADIR defined for Windows.

Scott Cantor cantor.2 at osu.edu
Mon Jun 25 13:45:25 EDT 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository cpp-log4shib.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-log4shib.git;a=commit;h=63854c1152e9bca67473d6ff36d01f2359606a07

The following commit(s) were added to refs/heads/master by this push:
       new  63854c1   Get DATADIR defined for Windows.
63854c1 is described below

commit 63854c1152e9bca67473d6ff36d01f2359606a07
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Jun 25 13:45:19 2018 -0400

    Get DATADIR defined for Windows.
---
 tests/sscpp706.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/sscpp706.cpp b/tests/sscpp706.cpp
index 7ab32d4..a359b26 100644
--- a/tests/sscpp706.cpp
+++ b/tests/sscpp706.cpp
@@ -3,6 +3,10 @@
 #include <log4shib/Category.hh>
 #include <log4shib/PropertyConfigurator.hh>
 
+#ifdef WIN32
+# define DATADIR "."
+#endif
+
 int main(int argc, char* argv[])
 {
     std::string initFileName = argc > 1 ? argv[1] : DATADIR "/sscpp706.txt";

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list