blob: 8fbe1d84293651e8e158c03712931c2b075a84a3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef SUPPORT_H
#define SUPPORT_H
#include <stdio.h>
#include <unistd.h>
#define fsFromStart SEEK_SET
typedef char* Str255;
typedef int OSErr;
#define SetFPos(fildes, whence, offset) lseek(fildes, offset, whence)
#define FSClose(fildes) close(fildes)
int Random();
bool IsKeyDown(int key);
#endif
|