Fix linux bustage

This commit is contained in:
spider%netscape.com 1998-10-12 20:44:48 +00:00
parent 17d4bfbd42
commit dac022d4b0
3 changed files with 44 additions and 1 deletions

View File

@ -22,6 +22,7 @@ OS_LIBS += $(GUI_LIBS)
LD_LIBS += \
raptorbase \
raptorhtmlpars \
raptorhtml \
png \
abouturl \
fileurl \

View File

@ -25,5 +25,5 @@ CPPSRCS = \
$(NULL)
REQUIRES = xpcom raptor shell trex julian nls netlib pref js xpfc
REQUIRES = xpcom raptor shell trex julian nls netlib pref js xpfc

View File

@ -874,3 +874,45 @@ nsresult nsCalendarShell::StartCommandServer()
return NS_OK;
}
// XXX BAD BAD BAD GROSSNESS ... Here so Linux will link ... ARGH!
#include "xp_mcom.h"
#include "net.h"
extern "C" XP_Bool ValidateDocData(MWContext *window_id)
{
printf("ValidateDocData not implemented, stubbed in CalendarShell.cpp\n");
return PR_TRUE;
}
/* dist/public/xp/xp_linebuf.h */
int XP_ReBuffer (const char *net_buffer, int32 net_buffer_size,
uint32 desired_buffer_size,
char **bufferP, uint32 *buffer_sizeP,
uint32 *buffer_fpP,
int32 (*per_buffer_fn) (char *buffer,
uint32 buffer_size,
void *closure),
void *closure)
{
printf("XP_ReBuffer not implemented, stubbed in CalendarShell.cpp\n");
return(0);
}
/* mozilla/include/xp_trace.h */
extern "C" void XP_Trace( const char *, ... )
{
printf("XP_Trace not implemented, stubbed in CalendarShell.cpp\n");
}