summaryrefslogtreecommitdiff
path: root/cpio/cpio_windows.h
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@gmail.com>2009-07-19 03:35:23 -0400
committerTim Kientzle <kientzle@gmail.com>2009-07-19 03:35:23 -0400
commit614fb568ee8f0a0a2bda4649c30bc277d37d5e8c (patch)
treea3e3e1f1f118c0bdee40e6a0d0f83464fbd0f426 /cpio/cpio_windows.h
parent06878e10269cfeabb614ac15f2e1abe584480e7e (diff)
downloadlibarchive-614fb568ee8f0a0a2bda4649c30bc277d37d5e8c.tar.gz
Remove the attempt to determine "root" for Windows in cpio.
This can never really work properly, so it's better to just not bother. SVN-Revision: 1239
Diffstat (limited to 'cpio/cpio_windows.h')
-rw-r--r--cpio/cpio_windows.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/cpio/cpio_windows.h b/cpio/cpio_windows.h
index f58d29d5..6587dcd4 100644
--- a/cpio/cpio_windows.h
+++ b/cpio/cpio_windows.h
@@ -28,12 +28,10 @@
#ifndef CPIO_WINDOWS_H
#define CPIO_WINDOWS_H 1
-#define geteuid() 0
#define getgrgid(id) NULL
#define getgrnam(name) NULL
#define getpwnam(name) NULL
#define getpwuid(id) NULL
-#define getuid() 0
#ifdef _MSC_VER
#define snprintf sprintf_s
@@ -55,7 +53,6 @@ extern "C" {
#endif
extern unsigned int sleep(unsigned int seconds);
-extern int bsdcpio_is_privileged();
#ifdef __cplusplus
}