Changeset 8 for branches/with_autoconf/src/global_functions.cc
- Timestamp:
- Jun 25, 2008, 1:08:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/with_autoconf/src/global_functions.cc
r4 r8 35 35 */ 36 36 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" 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 46 53 47 54 using namespace std; … … 218 225 219 226 char lib_absolutepath[256]; 220 #if defined( darwin) //macosx)227 #if defined(CONFIG_OS_DARWIN) 221 228 sprintf(lib_absolutepath, "/tmp/%s.so", base_name); 222 #elif defined( linux)229 #elif defined(CONFIG_OS_LINUX) 223 230 sprintf(lib_absolutepath, "/tmp/%s.so", base_name); 224 231 #else … … 255 262 } 256 263 // Init variables to be able to run combinational functions 257 #ifdef C HECK_FSM_RULES264 #ifdef CONFIG_CHECK_FSM_RULES 258 265 casc_fsm_step = STIMULI; 259 266 #endif
Note: See TracChangeset
for help on using the changeset viewer.