diff --git a/libsrc/apple2/Makefile b/libsrc/apple2/Makefile index 2a8b94ebe..bee0cb07d 100644 --- a/libsrc/apple2/Makefile +++ b/libsrc/apple2/Makefile @@ -37,6 +37,7 @@ OBJS= _scrsize.o \ crt0.o \ ctype.o \ cvline.o \ + getenv.o \ joy_stddrv.o \ kbhit.o \ mainargs.o \ diff --git a/libsrc/apple2/getenv.s b/libsrc/apple2/getenv.s new file mode 100644 index 000000000..c69ec35bc --- /dev/null +++ b/libsrc/apple2/getenv.s @@ -0,0 +1,12 @@ +; +; Ullrich von Bassewitz, 2003-05-02 +; +; char* getenv (const char* name); +; + + .export _getenv + .import return0 + +_getenv = return0 ; "not found" + + diff --git a/libsrc/atmos/Makefile b/libsrc/atmos/Makefile index 3b9bd42e6..55a57c860 100644 --- a/libsrc/atmos/Makefile +++ b/libsrc/atmos/Makefile @@ -30,6 +30,7 @@ S_OBJS = _scrsize.o \ crt0.o \ ctype.o \ cvline.o \ + getenv.o \ gotox.o \ gotoxy.o \ gotoy.o \ @@ -39,7 +40,7 @@ S_OBJS = _scrsize.o \ systime.o \ wherex.o \ wherey.o \ - write.o + write.o #-------------------------------------------------------------------------- # Targets diff --git a/libsrc/atmos/getenv.s b/libsrc/atmos/getenv.s new file mode 100644 index 000000000..c69ec35bc --- /dev/null +++ b/libsrc/atmos/getenv.s @@ -0,0 +1,12 @@ +; +; Ullrich von Bassewitz, 2003-05-02 +; +; char* getenv (const char* name); +; + + .export _getenv + .import return0 + +_getenv = return0 ; "not found" + +