Changeset 211


Ignore:
Timestamp:
Jan 21, 2007, 5:44:26 PM (19 years ago)
Author:
cinc
Message:

Output default headers into c-template file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ORBit2-2.14.0/src/idl-compiler/orbit-idl-c-stubs.c

    r204 r211  
    505505  fprintf (ci->fh, "#ifndef NOM_%s_IMPLEMENTATION_FILE\n", iface_id);
    506506  fprintf (ci->fh, "#define NOM_%s_IMPLEMENTATION_FILE\n#endif\n\n", iface_id);
    507 
    508   fprintf (ci->fh, "#include <string.h>\n");   
     507  /* Output include files always needed */
     508  fprintf (ci->fh, "#define INCL_DOS\n");
     509  fprintf (ci->fh, "#include <os2.h>\n\n");
     510
     511  fprintf (ci->fh, "#include \"nom.h\"\n");
     512  fprintf (ci->fh, "#include <nomtk.h>\n\n");
     513
     514  //fprintf (ci->fh, "#include <string.h>\n");
    509515#ifdef USE_LIBIDL_CODE
    510516    fprintf (ci->fh, "#define ORBIT2_STUBS_API\n");
Note: See TracChangeset for help on using the changeset viewer.