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/emitter.c

    r290 r326  
    3232*
    3333* ***** END LICENSE BLOCK ***** */
    34 #include <os2.h>
     34#ifdef __OS2__
     35# include <os2.h>
     36#endif /* __OS2__ */
     37
    3538#include <stdlib.h>
    3639#include <string.h>
    3740
    38 #include <glib.h> 
    39 #include <glib/gprintf.h> 
     41#include <glib.h>
     42#include <glib/gprintf.h>
    4043
    4144#define INCL_FILE
     
    8689      for(b=0;b<pm->uiStar;b++)
    8790        fprintf(fh, "*");
    88       fprintf(fh, " %s,\n", pm->chrName);     
     91      fprintf(fh, " %s,\n", pm->chrName);
    8992    }
    9093}
     
    101104    {
    102105      PMETHODPARAM pm=(PMETHODPARAM)g_ptr_array_index(pArray, a);
    103       fprintf(fh, " %s,", pm->chrName);     
     106      fprintf(fh, " %s,", pm->chrName);
    104107    }
    105108}
Note: See TracChangeset for help on using the changeset viewer.