From ac9b15c17e81fd8cf828ca8eb9770a7ec5a6de20 Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 31 Aug 2009 11:36:33 +0000 Subject: Add code that removes 'main' when compiling tests. --- client/pracro.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'client') diff --git a/client/pracro.cc b/client/pracro.cc index eacdeb1..37b1399 100644 --- a/client/pracro.cc +++ b/client/pracro.cc @@ -24,6 +24,7 @@ * along with Pracro; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#ifndef TESTING #include #include @@ -184,3 +185,5 @@ int main(int argc, char *argv[]) return 1; } + +#endif/*TESTING*/ -- cgit v1.2.3