}
/* Set the instruction and the stack pointer */
- #if defined(_I_X86_) || defined(__i386) || defined(__i386__) || defined(_WIN32)
+ #if defined(_I_X86_) || defined(__i386) || defined(__i386__) || defined(_M_IX86)
ucp->uc_mcontext.Eip = (DWORD) func;
ucp->uc_mcontext.Esp = (DWORD) sp - sizeof(void*);
#elif defined(_IA64_) || defined(__ia64) || defined(__ia64__)
# error "_IA64_"
- #elif defined _AMD64_ || defined(__x86_64) || defined(__x86_64__) || defined(_WIN64)
+ #elif defined _AMD64_ || defined(__x86_64) || defined(__x86_64__) || defined(_M_X64)
ucp->uc_mcontext.Rip = (DWORD64) func;
ucp->uc_mcontext.Rsp = (DWORD64) sp - sizeof(void*);
#else
set_target_properties(simgrid PROPERTIES
COMPILE_FLAGS "/D_XBT_DLL_EXPORT /DDLL_EXPORT"
VERSION ${libsimgrid_version} )
-# PREFIX "lib" SUFFIX ".dll"
-# IMPORT_PREFIX "lib"
-# IMPORT_SUFFIX ".dll")
-# ${CMAKE_COMMAND} -E make_directory ${CMAKE_HOME_DIRECTORY}/lib/Debug
else()
set_target_properties(simgrid PROPERTIES
COMPILE_FLAGS "-D_XBT_DLL_EXPORT -DDLL_EXPORT"