pdcurses/pdcutil.c

Mon, 11 Jan 2016 01:56:32 +0200

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Mon, 11 Jan 2016 01:56:32 +0200
changeset 114
0e7f3ecdf65a
parent 97
2d43f05b284c
permissions
-rw-r--r--

Need to `#include <stdlib.h>` in basics.h or md5.cpp doesn't compile under Linux/Clang

/* Public Domain Curses */

#include "pdcwin.h"

RCSID("$Id: pdcutil.c,v 1.14 2008/07/14 04:24:52 wmcbrine Exp $")

void PDC_beep(void)
{
    PDC_LOG(("PDC_beep() - called\n"));

/*  MessageBeep(MB_OK); */
    MessageBeep(0XFFFFFFFF);
}

void PDC_napms(int ms)
{
    PDC_LOG(("PDC_napms() - called: ms=%d\n", ms));

    Sleep(ms);
}

const char *PDC_sysname(void)
{
    return "Win32";
}

mercurial