diff options
Diffstat (limited to 'usr/src/common/smbsrv/smb_oem.c')
| -rw-r--r-- | usr/src/common/smbsrv/smb_oem.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/common/smbsrv/smb_oem.c b/usr/src/common/smbsrv/smb_oem.c index c459fa2c6d..3917400f91 100644 --- a/usr/src/common/smbsrv/smb_oem.c +++ b/usr/src/common/smbsrv/smb_oem.c @@ -19,16 +19,17 @@ * CDDL HEADER END */ /* - * Copyright 2011 Nexenta Systems, Inc. All rights reserved. * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * + * Copyright 2014 Nexenta Systems, Inc. All rights reserved. */ /* * Support for oem <-> unicode translations. */ -#ifndef _KERNEL +#if !defined(_KERNEL) && !defined(_FAKE_KERNEL) #include <stdlib.h> #include <thread.h> #include <synch.h> @@ -307,7 +308,7 @@ oem_get_ucspage(uint32_t cpid) static void oem_codepage_init(uint32_t cpid) { -#ifndef _KERNEL +#if !defined(_KERNEL) && !defined(_FAKE_KERNEL) static mutex_t mutex; (void) mutex_lock(&mutex); |
