Hi,
I just inherited a substantial number of source files with this in
them:
#ifdef _WIN32
Sleep(2000);
#else
sleep(2);
#endif
Being new to C, I'm trying to figure out if this can be consolidated
into a simple macro instead of peppering this all over the place.
Anyone have any examples?
TIA,
-T
--
comp.lang.c.moderated - moderation address: clcm@[EMAIL PROTECTED]
-- you must
have an appropriate newsgroups line in your header for your mail to be
seen,
or the newsgroup name in square brackets in the subject line. Sorry.