1 2002-03-10 Danny Smith <dannysmith@users.sourceforge.net>
3 * ada/adaint.h (__gnat_plist_init): Add prototype for _WIN32.
4 * ada/adaint.c: Don't include sys/wait.h if __MINGW32__.
5 (HAVE_DOS_BASED_FILE_SYSTEM): Define if necessary for
6 __EMX__, MSDOS, and _WIN32. Use throughout to check for
8 (IS_DIR_SEPARATOR): Define if necessary. Use throughout for
9 testing for dir separators.
10 Include ctype.h for DOS-based filesystems.
11 (__gnat_readlink): Let __CYGWIN__ use symlinks.
12 (__gnat_symlink): Likewise.
13 (__gnat_try_lock): Remove duplicate code for systems without link.
14 (win32_filetime, win32_no_block_spawn, win32_wait, remove_handle,
15 add_handle, plist_enter, plist_leave: Add prototypes.
16 (plist_leave, remove_handle): Make static.
17 Don't use POSIX permission masks if __MINGW32__.
18 Remove duplicate include of windows.h.
19 * ada/cal.c: Include <winsock.h> if __MINGW32__.
20 * ada/cstreams.c (max_path_len): Use _MAX_PATH if _WIN32.
21 Don't include sys/param.h for __MINGW32__.
22 (__gnat_full_name): Move return statement outside of
24 * ada/init.c (__gnat_error_handler): Make __stdcall.
26 *ada/sysdep.c: Include conio.h if __MINGW32__.
27 Include termios.h for __CYGWIN__ but not other WINNT targets.
28 (getc_immediate_common): Test for __CYGWIN__ .
29 (rts_get_hInstance): Cast return value of GetModuleHandleA
31 * ada/Make-lang.in (gnatdll$(exeext)): Add rule.
32 * ada/Makefile.in: Use krunched filenames when building objects