> There is some changes needed in the stapl code to make it work under
> windows:
>       * In jamport.h, change
> #define PORT UNIX
> for
> #define PORT WINDOWS
>
>       * In jamexprt.h, comment out several includes of unix specific headers:
> //#include<termios.h>
> //#include<dlfcn.h>
> //#include<netdb.h>
> //#include<poll.h>
> //#include<pthread.h>
> //#include<sys/mman.h>
> //#include<sys/socket.h>
> //#include<sys/wait.h>
> //#include<sys/un.h>
> //#include<sys/select.h>
> //#include<sys/ioctl.h>
> //#include<sys/ipc.h>
> //#include<sys/sem.h>
> //#include<sys/shm.h>
> //#include<sys/msg.h>
> //#include<sys/ioctl.h>
> //#include<sys/poll.h>
>
> Seems to me that these includes are not required at all.
>
I forget to mention that we need to comment also the line 901 of 
stapl.c, since the variable "windows_nt" are not declared.
             //windows_nt = !(GetVersion () & 0x80000000);

Regards,
Gastón.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to