nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: [patch] windows.h protection
From: Brent Thompson
Date: Mon, 09 Oct 2000 11:17:41 -0500

Here's a quick patch to <windows.h> with added protection
against multiple includes.  I simply added an #ifdef wrapper
around the entire header file contents.

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


*** windows.h	Tue Sep 19 12:34:48 2000
--- windows.h_0.88	Mon Oct  9 11:13:36 2000
***************
*** 4,13 ****
   *
   * Microwindows Win32 API master public header file
   */
- #ifndef _WINDOWS_H
- #define _WINDOWS_H
- 
- 
  #ifdef __cplusplus
  extern "C" {
  #endif
--- 4,9 ----
***************
*** 148,154 ****
  #ifdef __cplusplus
  }
  #endif
- 
- 
- #endif /* _WINDOWS_H */
- 
--- 144,146 ----


nanogui@linuxhacker.org