Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/global_functions.cc

    r27 r4  
    3535 */
    3636
    37 #include <iostream>
    38 #include <dlfcn.h>
    39 #include "schedulers.h" // get_scheduling & run_schedule_editor
    40 #include "sc_module.h" // check_all_method_process
    41 #include "gen_code.h"  // gen_scheduling_code_for_dynamic_link & gen_scheduling_code_for_static_func
    42 #include "sc_clock_ext.h" // clock list
    43 #include "usage.h"
    44 #include "module_hierarchy2dot.h"
    45 #include "assert.h"
    46 #ifdef HAVE_CONFIG_H
    47 #include "config.h"
    48 #endif
    49 
    50 #ifdef CONFIG_CHECK_FSM_RULES
    51 #include "fsm_rules.h"
    52 #endif
     37#include<iostream>
     38#include<dlfcn.h>
     39#include"schedulers.h" // get_scheduling & run_schedule_editor
     40#include"sc_module.h" // check_all_method_process
     41#include"gen_code.h"  // gen_scheduling_code_for_dynamic_link & gen_scheduling_code_for_static_func
     42#include"sc_clock_ext.h" // clock list
     43#include"usage.h"
     44#include"module_hierarchy2dot.h"
     45#include"assert.h"
    5346
    5447using namespace std;
     
    225218   
    226219  char lib_absolutepath[256];
    227 #if defined(CONFIG_OS_DARWIN)
     220#if defined(darwin) //macosx)
    228221  sprintf(lib_absolutepath, "/tmp/%s.so", base_name);
    229 #elif defined(CONFIG_OS_LINUX)
     222#elif defined(linux)
    230223  sprintf(lib_absolutepath, "/tmp/%s.so", base_name);
    231224#else
     
    262255  }
    263256  // Init variables to be able to run combinational functions
    264 #ifdef CONFIG_CHECK_FSM_RULES
     257#ifdef CHECK_FSM_RULES
    265258        casc_fsm_step = STIMULI;
    266259#endif
Note: See TracChangeset for help on using the changeset viewer.