Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ Erik Quanstrom <quanstro@quanstro.net>
David du Colombier <0intro@gmail.com>
Russ Cox <rsc@swtch.com>
Yaroslav <yarikos@gmail.com>
Ben Huntsman <ben@huntsmans.net>
19 changes: 19 additions & 0 deletions Make.aix
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# AIX
PTHREAD=-DPTHREAD
AR=ar
RANLIB=ranlib
X11=/usr/X11R6
CC=xlc_r
CFLAGS=-I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11)/include -D_THREAD_SAFE $(PTHREAD) -O2 -DAIX -qmaxmem=-1 -qsuppress=1506-236 -qsuppress=1506-358 -qsuppress=1500-010 -g -qfullpath
O=o
OS=posix
GUI=x11
LDADD=-L$(X11)/lib64 -L$(X11)/lib -lX11
LDFLAGS=$(PTHREAD)
TARG=drawterm
AUDIO=none

all: default

libmachdep.a:
(cd posix-port && make)
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ To build on Unix, run CONF=unix make.

To build on Solaris using Sun cc, run CONF=sun make.

To build on AIX using IBM XL C, run CONF=aix make.

To build on Windows, you need Mingw. See http://www.mingw.org.
Edit Make.config to uncomment the Windows section
and comment out the rest. Then run CONF=win32 make.
Expand Down
2 changes: 1 addition & 1 deletion include/dtos.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if defined(linux) || defined(IRIX) || defined(SOLARIS) || defined(OSF1) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__) || defined(__sun) || defined(sun) || defined(__OpenBSD__)
#if defined(linux) || defined(IRIX) || defined(SOLARIS) || defined(OSF1) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__) || defined(__sun) || defined(sun) || defined(__OpenBSD__) || defined(AIX)
# include "unix.h"
# ifdef __APPLE__
# define panic dt_panic
Expand Down