nanogui@linuxhacker.org
nanogui@linuxhacker.org
Short patch file for the Microwindows port to VxWorks.
<mwin/winuser.c> needs the proper prototype for strcmpi()
for VxWorks (as it is not in <stdlib.h> or <string.h>).
BAT
--
Brent A. Thompson, Next Level Communications <www.nlc.com>
1776 22nd Street #100, West Des Moines, IA 50266-1444
EMail: <Thompson@nlc.com>, Phone: (515)991-3853
*** winuser.c_0.88 Mon Oct 9 14:33:24 2000
--- winuser.c Tue Sep 19 13:00:06 2000
***************
*** 9,14 ****
--- 9,20 ----
#include <stdlib.h>
#include <string.h>
+ #if (UNIX | DOS_DJGPP)
+ #define strcmpi strcasecmp
+ #elif (VXWORKS)
+ int strcmpi(const char *s1, const char *s2);
+ #endif
+
#define PAINTONCE 1 /* =1 to queue paint msgs only once*/
#define MOUSETEST 1
nanogui@linuxhacker.org