diff options
author | deva <deva> | 2009-08-31 11:36:33 +0000 |
---|---|---|
committer | deva <deva> | 2009-08-31 11:36:33 +0000 |
commit | ac9b15c17e81fd8cf828ca8eb9770a7ec5a6de20 (patch) | |
tree | c0617aa8ae4c40585027420e88ef24cca60cd0be /client | |
parent | 63e8130931b7592c1d8435eb500439156e682d8c (diff) |
Add code that removes 'main' when compiling tests.
Diffstat (limited to 'client')
-rw-r--r-- | client/pracro.cc | 3 |
1 files changed, 3 insertions, 0 deletions
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 <QApplication> #include <QObject> @@ -184,3 +185,5 @@ int main(int argc, char *argv[]) return 1; } + +#endif/*TESTING*/ |