Clement Deschamps

Minor fixes for mingw

SET(EXECUTABLE "greenthreads_async_wait")
add_executable(${EXECUTABLE} main.cpp)
target_link_libraries(${EXECUTABLE} ${SystemC_LIBRARIES} pthread rt)
if(MINGW)
target_link_libraries(${EXECUTABLE} ${SystemC_LIBRARIES} pthread)
else()
target_link_libraries(${EXECUTABLE} ${SystemC_LIBRARIES} pthread rt)
endif()
add_dependencies(compile_test ${EXECUTABLE})
... ...
... ... @@ -53,6 +53,7 @@
#include <pthread.h>
#include <list>
#include <cerrno>
#include <time.h>
//#define SC_HAS_ASYNC_ATTACH_SUSPENDING
... ...