Ignore:
Timestamp:
Jun 29, 2008, 6:33:14 PM (17 years ago)
Author:
cinc
Message:

Disable macros in header files when using the NOM compiler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/idl-compiler/ih-emitter_c/ih_file_emitter.c

    r326 r376  
    6161  fprintf(fh, "#include \"%s.h\"\n\n", pif->chrFileStem);
    6262
     63  fprintf(fh, "#ifndef NOMCOMPILER\n");
     64
    6365}
    6466
     
    574576
    575577  fprintf(fh, "\n#endif /* NOM_%s_IMPLEMENTATION_FILE */\n", pif->chrName);
     578 
     579  fprintf(fh, "#endif /* NOMCOMPILER */\n");
     580
    576581  fprintf(fh, "#endif/* %s_IH */\n", pif->chrName);
    577582}
Note: See TracChangeset for help on using the changeset viewer.