RE: [Plib-devel] trivial bug in jsLinuxOld.cxx
Brought to you by:
sjbaker
From: Fay J. F C. AAC/W. <joh...@eg...> - 2005-07-16 17:29:02
|
Stanislaus, In the department of "Better Late Than Never," I have committed your change. I thank JC Jones one more time for his "pCVSc" program. John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group joh...@eg... 850-729-6330 -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Stanislav Ievlev Sent: Tuesday, February 08, 2005 5:49 AM To: pli...@li... Subject: [Plib-devel] trivial bug in jsLinuxOld.cxx Greetings! You have a little mistake in the #ifdefs jsLinux.cxx -- #if defined(JS_VERSION) && JS_VERSION >= 0x010000 -- jsLinuxOld.cxx -- #if !defined(JS_VERSION) || JS_VERSION >= 0x010000 -- As a result _both_ versions of each method will always include if JS_VERSION >=0.10000 and JS_VERSION defined. diff -Naur plib-1.8.4/src/js/jsLinuxOld.cxx plib-1.8.4.new/src/js/jsLinuxOld.cxx --- plib-1.8.4/src/js/jsLinuxOld.cxx 2004-10-21 03:49:33 +0400 +++ plib-1.8.4.new/src/js/jsLinuxOld.cxx 2005-02-08 14:33:24 +0300 @@ -27,7 +27,7 @@ #include <linux/joystick.h> -#if !defined(JS_VERSION) || JS_VERSION >= 0x010000 +#if !defined(JS_VERSION) || JS_VERSION < 0x010000 #include <fcntl.h> #include <sys/ioctl.h> -- With best regards Stanislav Ievlev ALT Linux Team. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ plib-devel mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-devel |