OSDN Git Service

Add VC++ Project files for PuTTY DLL without exported functions.
[ffftp/ffftp.git] / putty / MACOSX / OSX.H
1 #ifndef PUTTY_OSX_H\r
2 #define PUTTY_OSX_H\r
3 \r
4 /*\r
5  * Cocoa defines `FontSpec' itself, so we must change its name.\r
6  * (Arrgh.)\r
7  */\r
8 #define FontSpec FontSpec_OSX_Proof\r
9 \r
10 /*\r
11  * Define the various compatibility symbols to make uxpty.c compile\r
12  * correctly on OS X.\r
13  */\r
14 #define BSD_PTYS\r
15 #define OMIT_UTMP\r
16 #define HAVE_NO_SETRESUID\r
17 #define NOT_X_WINDOWS\r
18 \r
19 /*\r
20  * OS X is largely just Unix, so we can include most of this\r
21  * unchanged.\r
22  */\r
23 #include "unix.h"\r
24 \r
25 /*\r
26  * Functions exported by osxsel.m. (Both of these functions are\r
27  * expected to be called in the _main_ thread: the select subthread\r
28  * is an implementation detail of osxsel.m and ideally should not\r
29  * be visible at all outside it.)\r
30  */\r
31 void osxsel_init(void);                /* call this to kick things off */\r
32 void osxsel_process_results(void);     /* call this on receipt of a netevent */\r
33 \r
34 #endif\r