Ignore:
Timestamp:
Apr 15, 2009, 8:40:22 PM (15 years ago)
Author:
nipo
Message:

Sync up with trunk changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/with_autoconf/src/gen_code.cc

    r10 r20  
    3434 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    3535 */
    36 
    37 #include <stdio.h>
    38 #include <stdlib.h>
     36#if defined(__linux__)
     37#include <linux/limits.h>
     38#elif defined(WIN32)
     39#include <windows.h>
     40#endif
     41#include <cstring>
     42#include <cstdio>
     43#include <cstdlib>
    3944#include <iostream>
    4045#include <fstream>
     
    267272  o << "// generated by " << sc_version () << endl
    268273                << "#include <casc.h>\n\n"
    269                 << "#include <stdio.h>\n\n"
     274                << "#include <cstdio>\n\n"
    270275//              << "#include <iostream>\n\n"
    271276                << "namespace sc_core {\n"
     
    328333  o << "// generated by " << sc_version () << endl
    329334                << "#include <casc.h>\n\n"
    330                 << "#include <stdio.h>\n\n"
     335                << "#include <cstdio>\n\n"
    331336//              << "#include <iostream>\n\n"
    332337                << "namespace sc_core {\n"
Note: See TracChangeset for help on using the changeset viewer.