From: curt Date: Mon, 2 Nov 1998 18:29:42 +0000 (+0000) Subject: Add a unix main so program will compiler there too. It will output an X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=535282bd234352c667a26890418ce141a946fd01;p=flightgear.git Add a unix main so program will compiler there too. It will output an "only for windoze" message. --- diff --git a/Makedir/makedir.cxx b/Makedir/makedir.cxx index 9ba9db610..1bc7734cb 100644 --- a/Makedir/makedir.cxx +++ b/Makedir/makedir.cxx @@ -107,5 +107,13 @@ int main(int argc, char **argv) return(0); } +#else + +int main(int argc, char **argv) +{ + cout << "This program is intended to work with windoze\n"; + cout << "Other platforms can use mkdir\n"; +} + #endif // WIN32