summaryrefslogtreecommitdiffstats
path: root/osdep-aix.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2011-01-10 22:00:47 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2011-01-10 22:00:47 +0000
commit96fe3b26c18e3b38f8af789df632dea9e7e7fcdc (patch)
treef715e373cd090fdcfad04ed8574e9c32aa972533 /osdep-aix.c
parent93fd9cc29d3362ae9a28a02c852cce4753d73bde (diff)
Copy osdep-unknown.c for AIX to make @PLATFORM@ work.
Diffstat (limited to 'osdep-aix.c')
-rw-r--r--osdep-aix.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/osdep-aix.c b/osdep-aix.c
new file mode 100644
index 00000000..50f95f20
--- /dev/null
+++ b/osdep-aix.c
@@ -0,0 +1,35 @@
+/* $Id: osdep-aix.c,v 1.1 2011-01-10 22:00:47 nicm Exp $ */
+
+/*
+ * Copyright (c) 2011 Nicholas Marriott <nicm@users.sourceforge.net>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
+ * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
+ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#include <sys/types.h>
+
+#include <event.h>
+
+#include "tmux.h"
+
+char *
+osdep_get_name(unused int fd, unused char *tty)
+{
+ return (NULL);
+}
+
+struct event_base *
+osdep_event_init(void)
+{
+ return (event_init());
+}