summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/host_dependent.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-09-12 17:46:37 +0000
committerCorinna Vinschen <corinna@vinschen.de>2001-09-12 17:46:37 +0000
commitba94682838272afc87b73833c02aaf6cea40815e (patch)
tree33443e904759c4bb192f674b2e8c30c59641f138 /winsup/cygwin/host_dependent.h
parentc88bb51c3ca08f1cf79dd0215ff5f46817267ddb (diff)
downloadcygnal-ba94682838272afc87b73833c02aaf6cea40815e.tar.gz
cygnal-ba94682838272afc87b73833c02aaf6cea40815e.tar.bz2
cygnal-ba94682838272afc87b73833c02aaf6cea40815e.zip
* Makefile.in: Build wincap.o.
* wincap.cc: New file. * wincap.h: Ditto. * autoload.cc: Add dynamic load statement for `CreateHardLinkA'. * dcrt0.cc (os_being_run): Eliminated. (osname): Ditto. (iswinnt): Ditto. (set_os_type): Ditto. (dll_crt0_1): Call wincap.init() instead of set_os_type(). (_dll_crt0): Ditto. * environ.cc (set_chunksize): New function. (parse_thing): `forkchunk' setting now invokes function `set_chunksize'. * fork.cc (chunksize): Eliminated. Moved to be member of wincap. * host_dependent.h: Removed. * syscalls.cc (_link): Try using `CreateHardLinkA' first, if available. * cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc, environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc, fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h, security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc, times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap capability check throughout. * winsup.h: Include wincap.h. Eliminate extern declarations of `os_being_run' and `iswinnt'. Eliminate `os_type" definition. * include/cygwin/version.h: Bump version to 1.3.4.
Diffstat (limited to 'winsup/cygwin/host_dependent.h')
-rw-r--r--winsup/cygwin/host_dependent.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/winsup/cygwin/host_dependent.h b/winsup/cygwin/host_dependent.h
deleted file mode 100644
index 94e1546ca..000000000
--- a/winsup/cygwin/host_dependent.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/* host_dependent.h: host dependent Cygwin header file.
-
- Copyright 2000 Red Hat, Inc.
-
-This file is part of Cygwin.
-
-This software is a copyrighted work licensed under the terms of the
-Cygwin license. Please consult the file "CYGWIN_LICENSE" for
-details. */
-
-/* Portions of the cygwin DLL require special constants whose values
- are dependent on the host system. Rather than dynamically
- determine those values whenever they are required, initialize these
- values once at process start-up. */
-
-class host_dependent_constants
-{
- public:
- void init (void);
-
- /* Used by fhandler_disk_file::lock which needs a platform-specific
- upper word value for locking entire files. */
- DWORD win32_upper;
-
- /* fhandler_base::open requires host dependent file sharing
- attributes. */
- int shared;
-};
-
-extern host_dependent_constants host_dependent;