diff options
author | Ole Loots <ole@monochrom.net> | 2011-03-13 21:45:20 +0000 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2011-03-13 21:45:20 +0000 |
commit | 0410a8ea557eeedc604b95bfcd251c4846e52cef (patch) | |
tree | db27ce1a8d2d4f0f470ccd4c475eb142274cc7cd /atari | |
parent | e083b503a0608f99b0651cc55bafd3a99f2121b4 (diff) | |
download | netsurf-0410a8ea557eeedc604b95bfcd251c4846e52cef.tar.gz netsurf-0410a8ea557eeedc604b95bfcd251c4846e52cef.tar.bz2 |
Added dummy LDG functions to reduce need for external libs
svn path=/trunk/netsurf/; revision=12037
Diffstat (limited to 'atari')
-rw-r--r-- | atari/Makefile.target | 2 | ||||
-rwxr-xr-x | atari/misc.c | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/atari/Makefile.target b/atari/Makefile.target index dff5baeae..ebeaa72e5 100644 --- a/atari/Makefile.target +++ b/atari/Makefile.target @@ -29,7 +29,7 @@ CFLAGS += -std=c99 -I. -Dsmall $(WARNFLAGS) -Dnsatari \ LDFLAGS += $(shell curl-config --libs) LDFLAGS += $(shell $(PKG_CONFIG) --libs libhubbub openssl libcss) -LDFLAGS += -L/usr/lib/ -lxml2 -lz -lHermes -liconv -L/usr/lib -lwindom -lldg -lgem -lm +LDFLAGS += -L/usr/lib/ -lxml2 -lz -lHermes -liconv -L/usr/lib -lwindom -lgem -lm # S_ATARI are sources purely for the Atari FreeMiNT build diff --git a/atari/misc.c b/atari/misc.c index f37c1fec8..2817cdbc6 100755 --- a/atari/misc.c +++ b/atari/misc.c @@ -185,3 +185,19 @@ void dbg_pxy( char * str, short * pxy ) printf("%s: x: %d, y: %d, w: %d, h: %d\n", str,
pxy[0], pxy[1], pxy[2], pxy[3] );
}
+
+/* some LDG functions here to reduce dependencies */
+void * ldg_open( char * name, short * global )
+{
+ return( NULL );
+}
+
+void * ldg_find( char * name, short * ldg )
+{
+ return( NULL );
+}
+
+int ldg_close( void * ldg, short * global )
+{
+ return( 0 );
+}
|