[JXTA discuss] llabs(...) in jxta_cm.c

"eric" <[email protected]> Mon, 15 Aug 2005 04:09:16 +0800
Newsgroups gmane.comp.java.jxta.general
Message-ID <[email protected]>
discuss,hi!

hi rich

	VC6 does not support 'long long'. 

	WE can Use __int64 (Jpr_absolute_time) for a 64 bit int.

	or
		 #define llabs(val)   (val>0) ? val :(-val)

	
	here is the compile error:
		D:\tmp\jxta-c\src\jxta_cm.c(2050) : error C2632: 'long' followed by 'long' is illegal.




BR
        eric
        [email protected]
          2005-08-15