From 5a8748f187da8fa666e28ee24360ca9842e35b3c Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 17:03:13 +0000 Subject: * Get self-tests compiling again, updated for latest li... Author: mdz Date: 2003-08-18 15:32:37 GMT * Get self-tests compiling again, updated for latest library API and g++ 3.3 --- test/scratch.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '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; -- cgit v1.2.3