X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcopy.cpp;h=f7dab415920d09b2bf41374d7e9de6b7ef730588;hb=5e00719d0c63e306786ff36df61797cdbc86f3e9;hp=6a2de247c9ac6ba8d6365be128b81252090cc13e;hpb=f5d23e3e6ad425075182982c1ef717cb0873bbdc;p=builder.git diff --git a/source/copy.cpp b/source/copy.cpp index 6a2de24..f7dab41 100644 --- a/source/copy.cpp +++ b/source/copy.cpp @@ -1,5 +1,7 @@ +#ifndef _WIN32 #include #include +#endif #include #include #include @@ -16,7 +18,7 @@ Copy::Copy(Builder &b): Tool(b, "CP") { } -Target *Copy::create_target(const list &sources, const string &arg) +Target *Copy::create_target(const vector &sources, const string &arg) { FileTarget &file_tgt = dynamic_cast(*sources.front()); InstalledFile *inst = new InstalledFile(builder, *file_tgt.get_package(), file_tgt, arg);