]> git.saurik.com Git - apt.git/blobdiff - test/versiontest.cc
Add a vcg command to apt-cache, similiar to dotty.
[apt.git] / test / versiontest.cc
index d3bfe18feca046b970a33583fe07b4a696ad3a4a..3f90adf05ef36e934309143ed4bca8054c2afca3 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: versiontest.cc,v 1.1 1998/11/26 23:29:20 jgg Exp $
+// $Id: versiontest.cc,v 1.3 2002/03/26 07:38:58 jgg Exp $
 /* ######################################################################
 
    Version Test - Simple program to run through a file and comare versions.
    
    ##################################################################### */
                                                                        /*}}}*/
+#define APT_COMPATIBILITY 1
 #include <system.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/version.h>
-#include <iostream.h>
-#include <fstream.h>
+#include <iostream>
+#include <fstream>
 
-static int verrevcmp(const char *val, const char *ref) 
+  static int verrevcmp(const char *val, const char *ref) 
 {
    int vc, rc;
    long vl, rl;