X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b2e465d6d32d2dc884f58b94acb7e35f671a87fe..52643bec17df4e36a9bd27183886e2c0c7a8ebd8:/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;