Changeset 780 for trunk/include/misc.h


Ignore:
Timestamp:
Sep 1, 1999, 9:12:23 PM (26 years ago)
Author:
phaller
Message:

Fix: header file cleanup (win32type.h)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/misc.h

    r25 r780  
    1 /* $Id: misc.h,v 1.6 1999-06-01 15:46:21 phaller Exp $ */
     1/* $Id: misc.h,v 1.7 1999-09-01 19:12:13 phaller Exp $ */
    22
    33/*
     
    1010#define __MISC_H__
    1111
     12#ifndef _OS2WIN_H
     13  #include <win32type.h>
     14#endif
     15
    1216#ifdef __cplusplus
    1317      extern "C" {
    1418#endif
    15 
    1619
    1720/* enable support for the _interrupt() statement */
     
    4043
    4144
    42 #ifndef ULONG
    43 #  define ULONG unsigned long
     45// necessary types
     46#ifdef ULONG
     47  #error ULONG definition is bad.
     48  #define ULONG nope.
    4449#endif
    45 
    46 #ifndef HMODULE
    47 #  define HMODULE ULONG
    48 #endif
     50typedef unsigned long ULONG;
     51typedef unsigned long HMODULE;
    4952
    5053#ifndef SYSTEM
     
    6366
    6467
    65 #ifndef _OS2WIN_H
    66   #include <win32type.h>
    67 #endif
    68 
    6968#include "versionos2.h"
    7069#include "unicode.h"
    7170
    72 
    7371#endif
Note: See TracChangeset for help on using the changeset viewer.