diff options
author | dhodell <dhodell@1665872d-e22b-0410-9e5d-a57ad4215e6d> | 2006-10-13 18:03:34 +0000 |
---|---|---|
committer | dhodell <dhodell@1665872d-e22b-0410-9e5d-a57ad4215e6d> | 2006-10-13 18:03:34 +0000 |
commit | b4fbd5bf4456a77e60a69ef66ffdff399dcf0661 (patch) | |
tree | 3f7a979907abe2e97fcb99c17d5ef622d2d467aa /sol_compat.h | |
parent | c311350b3b220f6e6ea78183a7aed217f28c3e33 (diff) | |
download | portableumem-b4fbd5bf4456a77e60a69ef66ffdff399dcf0661.tar.gz |
Insert bits to allow successful compilation (and apparent success in
running) on FreeBSD.
git-svn-id: https://labs.omniti.com/portableumem/trunk@27 1665872d-e22b-0410-9e5d-a57ad4215e6d
Diffstat (limited to 'sol_compat.h')
-rw-r--r-- | sol_compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sol_compat.h b/sol_compat.h index 6b670ce..e0b8c4c 100644 --- a/sol_compat.h +++ b/sol_compat.h @@ -165,7 +165,7 @@ static INLINE uint_t ec_atomic_inc(uint_t *mem) #ifdef _WIN32 #define issetugid() 0 -#else +#elseif !defined(__FreeBSD__) #define issetugid() (geteuid() == 0) #endif |