Remove unneeded feature test macro. - sam - An updated version of the sam text … | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 004781331f55572d7b221de7b26543102a8654ff | |
parent 0369daac5e0d34e5bf7d710935eada2c44dbdf36 | |
Author: Rob King <[email protected]> | |
Date: Thu, 1 Sep 2016 09:47:05 -0500 | |
Remove unneeded feature test macro. | |
Diffstat: | |
include/libg.h | 3 --- | |
libXg/Makefile | 2 +- | |
libframe/Makefile | 2 +- | |
sam/Makefile | 2 +- | |
samterm/Makefile | 2 +- | |
5 files changed, 4 insertions(+), 7 deletions(-) | |
--- | |
diff --git a/include/libg.h b/include/libg.h | |
@@ -2,9 +2,6 @@ | |
#ifndef _LIBG_H | |
#define _LIBG_H | |
-#ifndef _LIBXG_EXTENSION | |
- This header file is not defined in pure ANSI/POSIX | |
-#endif | |
/* | |
* Like Plan9's libg.h, but suitable for inclusion on non-Plan9 machines | |
*/ | |
diff --git a/libXg/Makefile b/libXg/Makefile | |
@@ -20,7 +20,7 @@ AR=ar | |
# the name of the library | |
LIB=libXg.a | |
-CFLAGS=-D_POSIX_C_SOURCE=200809L -D_LIBXG_EXTENSION $(INCS) $(INCLUDES) | |
+CFLAGS=-D_POSIX_C_SOURCE=200809L $(INCS) $(INCLUDES) | |
CC?=c99 | |
OBJS= arc.o arith.o balloc.o bitblt.o bitbltclip.o border.o bscreenrect… | |
diff --git a/libframe/Makefile b/libframe/Makefile | |
@@ -15,7 +15,7 @@ RANLIB=: | |
# add name of library | |
AR=ar | |
-CFLAGS=-c $(INCS) -D_POSIX_C_SOURCE=200809L -D_LIBXG_EXTENSION $(INCLUDES) | |
+CFLAGS=-c $(INCS) -D_POSIX_C_SOURCE=200809L $(INCLUDES) | |
LIB=libframe.a | |
CC?=c99 | |
diff --git a/sam/Makefile b/sam/Makefile | |
@@ -32,7 +32,7 @@ RXSAMNAME=rsam | |
SAMSAVE=/bin/sh\\n$(SAMSAVEDIR)/samsave | |
-CFLAGS=-D_POSIX_C_SOURCE=200809L -D_LIBXG_EXTENSION $(INCS) $(INCLUDES) | |
+CFLAGS=-D_POSIX_C_SOURCE=200809L $(INCS) $(INCLUDES) | |
LIB=../libframe/libframe.a ../libXg/libXg.a | |
CC?=c99 | |
diff --git a/samterm/Makefile b/samterm/Makefile | |
@@ -17,7 +17,7 @@ SAMTERM=$(BINDIR)/samterm | |
# or if you need extra libraries to load with X11 applications | |
XLIBS=-lXt -lX11 -lXft | |
-CFLAGS=$(INCS) -D_POSIX_C_SOURCE=200809L -D_LIBXG_EXTENSION $(INCLUDES) | |
+CFLAGS=$(INCS) -D_POSIX_C_SOURCE=200809L $(INCLUDES) | |
LIBS=../libframe/libframe.a ../libXg/libXg.a | |
CC?=c99 |