nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: [patch] winevent.c for VxWorks
From: Brent Thompson
Date: Mon, 09 Oct 2000 14:47:37 -0500

Short patch to <mwin/winevent.c> to support VxWorks.
Added VXWORKS to the #if around the local abs() function.

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


*** winevent.c_0.88	Mon Oct  9 14:32:42 2000
--- winevent.c	Mon Oct  9 14:45:28 2000
***************
*** 13,19 ****
  #include <stdlib.h>
  #include <string.h>
  
! #if !(DOS_TURBOC | DOS_QUICKC | _MINIX)
  static int
  abs(int n)
  {
--- 13,19 ----
  #include <stdlib.h>
  #include <string.h>
  
! #if !(DOS_TURBOC | DOS_QUICKC | _MINIX | VXWORKS)
  static int
  abs(int n)
  {


nanogui@linuxhacker.org