Skip to content

Commit f1647df

Browse files
Default to NOETHER, only enable on Solaris. (#149)
* Default to NOETHER, only enable on Solaris. * DOS: NOETHER controlled by inc/version.h We set NOETHER by default on DOS, so no need for it here in the build system.
1 parent 6adb798 commit f1647df

File tree

8 files changed

+9
-12
lines changed

8 files changed

+9
-12
lines changed

bin/dosmkfil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LPFILES = lpmain.obj lpread.obj lpsolve.obj lpwrite.obj lpdual.obj lptran.obj
99
KEY = keytstno.obj
1010

1111
CFLAGS = -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT \
12-
-DNOFORN -DNOETHER -DNOVERSION -DLPSOLVE -g
12+
-DNOFORN -DNOVERSION -DLPSOLVE -g
1313

1414
LDFLAGS = -g graphics.lib binmode.lib mouse.lib
1515

bin/makefile-dos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LPFILES = lpmain.obj lpread.obj lpsolve.obj lpwrite.obj lpdual.obj lptran.obj
99
KEY = keytstno.obj
1010

1111
CFLAGS = -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT \
12-
-DNOFORN -DNOETHER -DNOVERSION -DLPSOLVE -g
12+
-DNOFORN -DNOVERSION -DLPSOLVE -g
1313

1414
LDFLAGS = -g graphics.lib binmode.lib mouse.lib
1515

bin/makefile.dos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LPFILES = lpmain.obj lpread.obj lpsolve.obj lpwrite.obj lpdual.obj lptran.obj
99
KEY = keytstno.obj
1010

1111
CFLAGS = -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT \
12-
-DNOFORN -DNOETHER -DNOVERSION
12+
-DNOFORN -DNOVERSION
1313

1414
LDFLAGS = -g graphics.lib binmode.lib mouse.lib
1515

bin/mkdos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# remember -DNOEUROKBD
2626

2727
#ifdef _INTELC32_ /* The cpp macro for the DOS extender */
28-
#define EXTRACFLAGS -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT -DNOFORN -DNOETHER
28+
#define EXTRACFLAGS -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT -DNOFORN
2929
#define EXTRALDFLAGS graphics.lib binmode.lib mouse.lib
3030
AFLAGS = /T
3131
COLORFILES = rawcolor.obj

bin/mkfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#define OBJECTDIR .
3030
#define BINDIR ../bin
3131
#define INCDIR ../inc
32-
#define EXTRACFLAGS -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT -DNOFORN -DNOETHER
32+
#define EXTRACFLAGS -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT -DNOFORN
3333
#define EXTRALDFLAGS graphics.lib binmode.lib mouse.lib
3434
BINARYDIR = BINDIR
3535
AFLAGS = /T

bin/mkfile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#define OBJECTDIR .
3030
#define BINDIR ../bin
3131
#define INCDIR ../inc
32-
#define EXTRACFLAGS -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT -DNOFORN -DNOETHER
32+
#define EXTRACFLAGS -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT -DNOFORN
3333
#define EXTRALDFLAGS graphics.lib binmode.lib mouse.lib
3434
BINARYDIR = BINDIR
3535
AFLAGS = /T

bin/mkfile.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ETHERFILES = ldeether.obj
2424

2525
KEY = keytstno.obj
2626

27-
CFLAGS = -I. -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT -DNOFORN -DNOETHER -O2
27+
CFLAGS = -I. -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT -DNOFORN -O2
2828

2929
LDFLAGS = -O2 graphics.lib binmode.lib mouse.lib
3030

inc/version.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ error Must specify RELEASE to build Medley.
204204

205205

206206
/* Set up defaults */
207+
#define NOETHER 1
207208
#define UNALIGNED_FETCH_OK
208209
#define REGISTER register
209210
#define HAS_GETHOSTID
@@ -238,6 +239,7 @@ typedef signed char s_char;
238239
/********************************************************/
239240
#ifdef OS5
240241
/* Solaris, sort of SYSV-ish, but not really */
242+
#undef NOETHER
241243
#define SYSVSIGNALS 1
242244
#define NOFORN
243245
#define LOCK_X_UPDATES 1
@@ -251,8 +253,6 @@ typedef signed char s_char;
251253
/********************************************************/
252254
#ifdef LINUX
253255
/* LINUX, the free POSIX-compliant Unix */
254-
#define NOETHER 1
255-
256256
#undef REGISTER
257257
#define REGISTER
258258

@@ -269,8 +269,6 @@ typedef signed char s_char;
269269
/********************************************************/
270270
#if defined(MACOSX) || defined(FREEBSD)
271271
/* MacOS X, FreeBSD - mostly POSIX-compliant Unix */
272-
#define NOETHER 1
273-
274272
#undef REGISTER
275273
#define REGISTER
276274

@@ -300,7 +298,6 @@ typedef unsigned short u_short;
300298
#define REGISTER
301299
#define SYSVONLY 1
302300
#define SYSVSIGNALS 1
303-
#define NOETHER 1
304301
#define USHORT unsigned
305302
#else
306303
#define USHORT unsigned short

0 commit comments

Comments
 (0)