X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b2e465d6d32d2dc884f58b94acb7e35f671a87fe..de6a3945e1211f6edf2069e11f6fbe522d6776d5:/test/scratch.cc diff --git a/test/scratch.cc b/test/scratch.cc index b52608150..d638c7097 100644 --- a/test/scratch.cc +++ b/test/scratch.cc @@ -1,4 +1,3 @@ -#define APT_COMPATIBILITY 1 #include #include #include @@ -8,9 +7,12 @@ #include #include +using namespace std; + int main(int argc,char *argv[]) { - pkgInitialize(*_config); + pkgInitConfig(*_config); + pkgInitSystem(*_config,_system); // cout << flNoLink(argv[1]) << endl;