--- mon/src/main.cpp 1999/10/04 21:16:02 1.2 +++ mon/src/main.cpp 2000/04/24 13:09:59 1.5 @@ -1,7 +1,7 @@ /* * main.cpp - Wrapper program for standalone mon * - * mon (C) 1997-1999 Christian Bauer, Marc Hellwig + * mon (C) 1997-2000 Christian Bauer, Marc Hellwig * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,10 +23,11 @@ #include "mon.h" -#if __BEOS__ +#ifdef __BEOS__ #include #include #include +#include // Detect if program was launched from Shell or Tracker static bool launched_from_tracker(void) @@ -101,7 +102,7 @@ static bool open_stdio(const char *title // Main program int main(int argc, char **argv) { -#if __BEOS__ +#ifdef __BEOS__ // Launched from Tracker? Then open terminal window if (launched_from_tracker()) { if (!open_stdio("mon"))