summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_tape.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-03-16 21:52:06 +0000
committerChristopher Faylor <me@cgf.cx>2005-03-16 21:52:06 +0000
commit29acee402001c0ca009c546432027f5ce5ea3584 (patch)
tree73b7f78af4eb1fc6dd9543dd151bdf44ae0b93ba /winsup/cygwin/fhandler_tape.cc
parent38a1953cfc4a1fde51cf976b04bee8642fc0ef68 (diff)
downloadcygnal-29acee402001c0ca009c546432027f5ce5ea3584.tar.gz
cygnal-29acee402001c0ca009c546432027f5ce5ea3584.tar.bz2
cygnal-29acee402001c0ca009c546432027f5ce5ea3584.zip
* 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.cc3
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 \