diff options
author | Christopher Faylor <me@cgf.cx> | 2005-03-17 00:52:06 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-03-17 00:52:06 +0300 |
commit | 29acee402001c0ca009c546432027f5ce5ea3584 (patch) | |
tree | 73b7f78af4eb1fc6dd9543dd151bdf44ae0b93ba /winsup/cygwin/fhandler_tape.cc | |
parent | 38a1953cfc4a1fde51cf976b04bee8642fc0ef68 (diff) |
* fhandler_tape.cc (get_ll): This is a generally useful function so move it
* winsup.h (get_ll): to here
* security.cc (get_token_group_sidlist): Use get_ll to figure out the long long
version of the luid since QuadPart is not part of the standard Windows API.
Diffstat (limited to 'winsup/cygwin/fhandler_tape.cc')
-rw-r--r-- | winsup/cygwin/fhandler_tape.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler_tape.cc b/winsup/cygwin/fhandler_tape.cc index 5b7c69909..33850e329 100644 --- a/winsup/cygwin/fhandler_tape.cc +++ b/winsup/cygwin/fhandler_tape.cc @@ -36,9 +36,6 @@ details. */ part (partition)->initialize (0); \ } -/* Convert LARGE_INTEGER into long long */ -#define get_ll(pl) (((long long) (pl).HighPart << 32) | (pl).LowPart) - #define IS_BOT(err) ((err) == ERROR_BEGINNING_OF_MEDIA) #define IS_EOF(err) ((err) == ERROR_FILEMARK_DETECTED \ |