Skip to content
Snippets Groups Projects
Commit d225dd65 authored by Fons Rademakers's avatar Fons Rademakers
Browse files

fix compilation error on non-win systems.

git-svn-id: http://root.cern.ch/svn/root/trunk@36819 27541ba8-7e3a-0410-8455-c3a389f83636
parent b60f84e2
No related branches found
No related tags found
No related merge requests found
...@@ -381,8 +381,8 @@ int main(int argc, char **argv) ...@@ -381,8 +381,8 @@ int main(int argc, char **argv)
} }
if (!strcmp(argv[ic], "-o")) { if (!strcmp(argv[ic], "-o")) {
ic++; ic++;
#ifdef WIN32
std::string outfile(argv[ic]); std::string outfile(argv[ic]);
#ifdef WIN32
FromCygToNativePath(outfile); FromCygToNativePath(outfile);
fp = fopen(outfile.c_str(), "w"); fp = fopen(outfile.c_str(), "w");
#else #else
...@@ -397,8 +397,8 @@ int main(int argc, char **argv) ...@@ -397,8 +397,8 @@ int main(int argc, char **argv)
if (!strcmp(argv[ic], "-r")) { if (!strcmp(argv[ic], "-r")) {
replace = true; replace = true;
ic++; ic++;
#ifdef WIN32
std::string outfile(argv[ic]); std::string outfile(argv[ic]);
#ifdef WIN32
FromCygToNativePath(outfile); FromCygToNativePath(outfile);
fp = fopen(outfile.c_str(), "a+"); fp = fopen(outfile.c_str(), "a+");
#else #else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment