nanogui: [patch] winuser.c for VxWorks
Subject:
[patch] winuser.c for VxWorks
From:
Brent Thompson ####@####.####
Date:
9 Oct 2000 19:57:37 -0000
Message-Id: <39E22257.1000402@nlc.com>
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: ####@####.#### 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