nowsys fixes (Lou Kamenov)
This commit is contained in:
parent
2a951f5eb6
commit
326a461d0e
2 changed files with 23 additions and 2 deletions
|
|
@ -1,3 +1,23 @@
|
||||||
/* so that there's *something* in this file */
|
#include <u.h>
|
||||||
int __nowsys__itrans(void) {return 0;}
|
#include <libc.h>
|
||||||
|
|
||||||
|
static int
|
||||||
|
bad(void)
|
||||||
|
{
|
||||||
|
sysfatal("compiled with no window system support");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
putsnarf(char *data)
|
||||||
|
{
|
||||||
|
USED(data);
|
||||||
|
bad();
|
||||||
|
}
|
||||||
|
|
||||||
|
char*
|
||||||
|
getsnarf(void)
|
||||||
|
{
|
||||||
|
bad();
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
#include <cursor.h>
|
#include <cursor.h>
|
||||||
#include <mouse.h>
|
#include <mouse.h>
|
||||||
|
|
||||||
|
int _wantfocuschanges;
|
||||||
static int
|
static int
|
||||||
bad(void)
|
bad(void)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue