X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Funix.h;h=f603eb51803437cdec830bd50e1630eb3f5d0bf3;hb=9dd9860cc84f82309de64c33e2813c6e9dc60749;hp=3fe7d7f6626970471988c5499b9f7a7d5ba427b8;hpb=dc253b3c51ac621f894653d0f04aef7d8f9ba8f1;p=PuTTY.git diff --git a/unix/unix.h b/unix/unix.h index 3fe7d7f6..f603eb51 100644 --- a/unix/unix.h +++ b/unix/unix.h @@ -25,6 +25,10 @@ #define NO_PTY_PRE_INIT /* OS X gets very huffy if we try to set[ug]id */ #define SET_NONBLOCK_VIA_OPENPT /* work around missing fcntl functionality */ #define OSX_META_KEY_CONFIG /* two possible Meta keys to choose from */ +/* this potential one of the Meta keys needs manual handling */ +#define META_MANUAL_MASK (GDK_MOD1_MASK) +#define JUST_USE_GTK_CLIPBOARD_UTF8 /* low-level gdk_selection_* fails */ +#define DEFAULT_CLIPBOARD GDK_SELECTION_CLIPBOARD /* OS X has no PRIMARY */ #endif struct Filename { @@ -41,6 +45,8 @@ typedef void *Context; /* FIXME: probably needs changing */ extern Backend pty_backend; +#define BROKEN_PIPE_ERROR_CODE EPIPE /* used in sshshare.c */ + typedef uint32_t uint32; /* C99: uint32_t defined in stdint.h */ #define PUTTY_UINT32_DEFINED