diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-21 03:25:03 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-21 03:25:03 +0000 |
commit | 9d0c7a0bcca345598ccd7607e31bcdbc8f1008b3 (patch) | |
tree | 6c984958dfb9ada2b8d6b105802b13779feea97d | |
parent | 5d3068dc47944587b1fd15a966dc0c8486950a26 (diff) |
*** empty log message ***
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1470 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-x | configure | 3 | ||||
-rw-r--r-- | src/inspircd.cpp | 5 |
2 files changed, 8 insertions, 0 deletions
@@ -491,6 +491,9 @@ EOF if ($config{OSNAME} =~ /SunOS/) { print FILEHANDLE "#define IS_SOLARIS\n"; } + if ($config{OSNAME} =~ /CYGWIN/) { + print FILEHANDLE "#define IS_CYGWIN\n"; + } if ($config{STATIC_LINK} eq "yes") { print FILEHANDLE "#define STATIC_LINK\n"; } diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 4e6e0f86c..5862400ce 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2523,7 +2523,12 @@ int InspIRCd(char** argv, int argc) printf("ERROR: Could not write to logfile %s, bailing!\n\n",logpath.c_str()); Exit(ERROR); } + +#ifdef IS_CYGWIN + printf("Logging to ircd.log...\n"); +#else printf("Logging to %s...\n",logpath.c_str()); +#endif log(DEFAULT,"$Id$"); if (geteuid() == 0) |