nanogui: [patch] wintern.h enhancements for VxWorks


Previous by date: 9 Oct 2000 18:47:18 -0000 Re: microwindows-0.89pre2 compilation issues.., Gary James
Next by date: 9 Oct 2000 18:47:18 -0000 What's wrong with GdBitmap?, tuan
Previous in thread:
Next in thread:

Subject: [patch] wintern.h enhancements for VxWorks
From: Brent Thompson ####@####.####
Date: 9 Oct 2000 18:47:18 -0000
Message-Id: <39E211DC.9080602@nlc.com>

Here is a patch file with enhancements I needed to make
for my VxWorks port.  I've added an #ifdef wrapper around
the entire header file, added a strcmpi() function prototype
for VXWORKS, and added includes of "device.h", "windows.h",
and <string.h>.  The includes were required as there is some
overlap of variables name-space between VxWorks and Microwindows
and the "windows.h" header file deals with these conflicts.

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

*** wintern.h_0.88	Mon Oct  9 13:38:54 2000
--- wintern.h	Mon Oct  9 13:41:40 2000
***************
*** 4,11 ****
--- 4,17 ----
   *
   * Microwindows internal routines header file
   */
+ #ifndef _WINTERN_H
+ #define _WINTERN_H
+ 
+ 
  #if (UNIX | DOS_DJGPP)
  #define strcmpi	strcasecmp
+ #elif (VXWORKS)
+ int strcmpi(const char *s1, const char *s2);
  #endif
  
  #ifdef __PACIFIC__
***************
*** 17,22 ****
--- 23,33 ----
  #include <string.h>
  #endif  
  
+ #include "device.h"
+ #include "windows.h"
+ 
+ #include <string.h>
+ 
  #define DBLCLICKSPEED	750		/* mouse dblclik speed msecs (was 450)*/
  
  /* gotPaintMsg values*/
***************
*** 132,134 ****
--- 143,149 ----
  void MwExitVt(void);
  extern int mwvterm;
  #endif /* VTSWITCH*/
+ 
+ 
+ #endif /* _WINTERN_H */
+ 

Previous by date: 9 Oct 2000 18:47:18 -0000 Re: microwindows-0.89pre2 compilation issues.., Gary James
Next by date: 9 Oct 2000 18:47:18 -0000 What's wrong with GdBitmap?, tuan
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.