/***************************************************************************
 *                                                                         *
 *   GCDELAY.C                                                             *
 *                                                                         *
 *   Copyright (c) 1996-1997 Galacticomm, Inc.    All Rights Reserved.     *
 *                                                                         *
 *   Millisecond sleeping utility.                                         *
 *                                                                         *
 *                                        - Ilya Minkin 01/24/96           *
 *                                                                         *
 ***************************************************************************/

#ifndef GCDOS
#include <windows.h>
#endif // GCDOS
#include "gcomm.h"

#define FILREV "$Revision: 4 $"

VOID
gcdelay(                           /* sleeps for msecs milliseconds        */
ULONG msecs)                       /*   number of milliseconds to sleep    */
{
#ifdef GCDOS
#ifdef GCWIN3X
     (void)msecs;
#else
     delay((UINT)msecs);
#endif // GCWIN3X
#else
     Sleep(msecs);
#endif // GCDOS
}
