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

    r321 r326  
    3232*
    3333* ***** END LICENSE BLOCK ***** */
    34 #include <os2.h>
     34#ifdef __OS2__
     35# include <os2.h>
     36#endif
    3537#include <stdio.h>
    3638#include <stdlib.h>
    3739#include <string.h>
    3840
    39 #include <io.h>
     41#ifdef HAVE_IO_H
     42# include <io.h>
     43#endif
     44#ifdef HAVE_UNISTD_H
     45# include <unistd.h>
     46#endif
    4047#include <fcntl.h>
    41 #include <sys\stat.h>
     48#include <sys/stat.h>
    4249
    4350#include <glib/gprintf.h>
Note: See TracChangeset for help on using the changeset viewer.