Ignore:
Timestamp:
Apr 9, 2008, 10:22:08 PM (17 years ago)
Author:
cinc
Message:

Portability patches for Windows, Linux, Darwin by Bird.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/idl-compiler/c/util.c

    r292 r326  
    3232*
    3333* ***** END LICENSE BLOCK ***** */
    34 #include <os2.h>
     34#ifdef __OS2__
     35# include <os2.h>
     36#endif
    3537#include <stdlib.h>
    3638#include <string.h>
     
    6264    return NULL;
    6365
    64   while((pifParent=getParentInterface(pifParent))!=NULLHANDLE)
     66  while((pifParent=getParentInterface(pifParent))!=NULL)
    6567    {
    6668      int a;
     
    100102    return NULL;
    101103
    102   while((pifParent=getParentInterface(pifParent))!=NULLHANDLE)
     104  while((pifParent=getParentInterface(pifParent))!=NULL)
    103105    {
    104106      int a;
Note: See TracChangeset for help on using the changeset viewer.