Commit graph

36 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
55821dc616 In Windows64, ECL_LONG_BITS must be 32 (LL64) not 64, as it was defined in msvc/ecl/config.h.msvc6 2011-11-13 11:47:41 +01:00
syakovyn
f1902ca956 Configured _WIN64 support for MSVC 2011-11-11 23:08:09 +01:00
Juan Jose Garcia Ripoll
d3fdd02cd8 Missing definition for ecl_character. 2011-05-22 23:35:51 +02:00
Juan Jose Garcia Ripoll
69ca2d586d Only use long double when the special functions are available 2010-10-29 22:29:05 +02:00
Juan Jose Garcia Ripoll
1ec501768e Initial support for WIN64 2010-08-28 23:52:23 +02:00
Juan Jose Garcia Ripoll
ab6f5dc64e Add the definition of ECL_MS_WINDOWS_HOST to MSVC's config.h 2010-08-22 22:30:14 +02:00
Juan Jose Garcia Ripoll
dc2ce379ec Make the SSE2 feature optional. 2010-08-20 21:07:01 +02:00
Juan Jose Garcia Ripoll
957dd894bd Fixes for MSVC to accomodate latest changes in macros, SRC: pathname. 2010-03-02 15:52:08 +01:00
Juan Jose Garcia Ripoll
73e00046d4 The latest aliases for __attribute__((noreturn)) and other macros were not ported to MSVC. 2010-02-16 00:09:28 +01:00
Juanjo
1f74500b31 msvc/ecl/confg.h.msvc6: the value of UNICODE is now hardcoded in the header file, just like in other ports. 2009-10-05 11:00:36 +02:00
Juan Jose Garcia Ripoll
e3a8f6aec5 * msvc/ecl/config.msvc6: export ECL_WINDOWS_THREADS macro
* src/h/config.h: define GC_THREADS when using the garbage collector and threads.
2009-10-01 16:04:13 +02:00
Juan Jose Garcia Ripoll
28f2f9f4ca Export ECL_THREADS configuration flag when processing msvc/ecl/config.h.msvc6 2009-09-25 08:49:04 +02:00
Juan Jose Garcia Ripoll
78e9859bd2 Code to implement mp:interrupt-process in Windows:
* unixint.d: capture exceptions caused by page guards.
* unixint.d: to interrupt a Windows thread, set up a page guard onto the
  ECL environment and in addition queue an APC call that accesses the
  environment to trigger that exception.
* stacks.h: CL_CATCH_ALL uses _try/_except to enforce ECL's exception
  handler. Without it, Windows behaves randomly and sometimes uses the
  default handler and sometimes it simply aborts.
* threads.d: we use ordinary handlers to identify threads.
* time.d: SLEEP now uses Windows' SleepEx, leaving the thread in an
  alertable state -- that is, it can be interrupted.
* top.lsp: fixed and improved the code that handles console interrupts,
  by first using ordinary conditions and then using an interactive
  query function to decide which process to interrupt.
2009-09-22 20:13:23 +02:00
Juan Jose Garcia Ripoll
7dbe45ada9 First implementation of DFFI using libffi 2009-07-28 23:33:45 +02:00
Juan Jose Garcia Ripoll
ff6b91be36 Definition of ECL_{INT,LONG}_BITS missing in msvc. 2009-07-21 20:57:44 +02:00
Juan Jose Garcia Ripoll
bd75a757a0 The definition of signbit() for MSVC was wrong. 2009-06-16 20:16:46 +02:00
Juan Jose Garcia Ripoll
8e8204c2af Compile the MSVC port with support for IEEE floating point numbers. 2009-06-15 00:39:40 +02:00
Juan Jose Garcia Ripoll
fb1b528fcc Update the Windows port to the latest changes. 2009-06-15 00:03:26 +02:00
Juan Jose Garcia Ripoll
a8c8306167 Some configuration flags were not installed in config.h and thus compiled code and the library saw a different structure for cl_core. 2009-06-14 19:09:35 +02:00
Juan Jose Garcia Ripoll
198a58f626 Microsoft MSVC has _copysign, which can be used to implement signbit 2009-06-13 22:48:02 +02:00
Juan Jose Garcia Ripoll
9d86366662 The mechanism for detectin uint32_t and relatives is extended now to uint8_t. This solves a problem with Solaris, which _now_ provides complete stdint/inttypes.h headers. Version upgraded to 9.5. 2009-05-17 11:26:34 +02:00
Juan Jose Garcia Ripoll
ecf055bc5a Fixes for the Windows port, including a flag to make ANSI C streams the default file type. 2009-03-30 14:42:16 +02:00
Juan Jose Garcia Ripoll
c2a98781ae Update MSVC configuration header 2009-03-23 23:27:25 +01:00
Juan Jose Garcia Ripoll
b5119bfb90 Add a configuration flag for using mprotect.
Add an implementation of interrupt disable/enable without mprotect.
Set up interrupt barriers around I/O operations.
Force error routines to enable interrupts.
2008-10-08 23:49:31 +02:00
Juan Jose Garcia Ripoll
417a14a728 Support for Unicode in the MSVC port 2008-08-24 15:56:16 +02:00
jjgarcia
a1e63755a4 The C99 macro isfinite does not exist in MSVC. 2008-08-02 09:59:18 +00:00
jgarcia
2225a2c252 Set the right windows compilation flags 2008-05-01 14:48:24 +00:00
jgarcia
8800b254f5 Committed the changes to implement small conses 2008-04-30 14:24:20 +00:00
jgarcia
f5b444d4ca The ECL_API flags are now defined in config.h. We must also copy them to config.h.msvc6 2008-03-17 08:39:14 +00:00
jgarcia
d49b134654 Implemented mp_process_yield (Built on Dan Corkill's patches) 2007-12-10 19:17:45 +00:00
jgarcia
3098867868 The flags for multithreaded GC have been renamed 2007-04-14 11:31:10 +00:00
jgarcia
0c882febe0 The retrieval of garbage collector statistics was not activated in Windows 2007-01-11 08:57:33 +00:00
mgoffioul
640c509f8b Add new #define to MSVC config 2006-10-09 09:13:21 +00:00
jjgarcia
a7605eed0e Include gc.h to get definition of variable GC_dont_gc 2006-03-08 09:59:15 +00:00
jjgarcia
0ba0c5d5ec Include missing header gmp.h in config.h, and add several directories required at build time 2006-03-02 10:44:47 +00:00
jjgarcia
d9997268f8 Final fixes to make the new directory structure work with MSVC++ 2006-02-28 14:21:26 +00:00