Skip to content

Commit

Permalink
Revert __ELKS__ addition
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaerr committed Nov 24, 2024
1 parent a2e0bd2 commit a331044
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libc/ia16.inc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Makefile include for ia16-elf-gcc build

INCLUDES=-I$(TOPDIR)/include -I$(TOPDIR)/libc/include -I$(TOPDIR)/elks/include
DEFINES=-D__LIBC__ -D__ELKS__
DEFINES=-D__LIBC__
LIBOBJS=$(OBJS)

INCS=$(INCLUDES)
Expand Down
2 changes: 1 addition & 1 deletion libc/include/debug/instrument.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ELKS stack trace and instrumentation functions library */
/* Jan 2023 Greg Haerr */
#ifdef __ELKS__
#if defined(__ia16__) || defined(__WATCOMC__)
#include <sys/cdefs.h>
#else
#define noinstrument
Expand Down
2 changes: 1 addition & 1 deletion libc/include/debug/syms.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* ELKS symbol table support */
#ifdef __ELKS__
#if defined(__ia16__) || defined(__WATCOMC__)
#include <sys/cdefs.h>
#else
#define noinstrument
Expand Down
2 changes: 1 addition & 1 deletion libc/watcom.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ endif

INCLUDES = -I$(TOPDIR)/libc/include -I$(TOPDIR)/elks/include
INCLUDES += -I$(WATCOM)/h
DEFINES = -D__LIBC__ -D__ELKS__
DEFINES = -D__LIBC__
LIBOBJS=$(OBJS:.o=.obj)

include $(TOPDIR)/libc/watcom.model
Expand Down

0 comments on commit a331044

Please sign in to comment.