[AGENT++] registeration of Sub agent to Master

Henning Eggers henning.eggers at plath.de
Wed Nov 19 11:49:18 CET 2003


Hi Rajeev,

----- Original Message -----
> I did change in agentx.h from #ifndef WIN32 to #ifdef WIN32.
> and it works, I didnot check behavious in detail.
> 1. so is it ok ? or
> 2. at other places also I should check for any other defines ?

That would be one way to do it although I'd avoid changing the library code
in this way, turning black into white (or Linux into Win32 ;).
How about adding a define to the compiler switches in the Makefile.linux,
like this:

CFLAGS         = -g -Wall -DAX_TCP_SOCKET $(AGENTPPOPTIONS)

Do this for the lib and the master.

Regards,
Henning




More information about the AGENTPP mailing list