/usr/include/sys/machtypes.h


    1 /*
    2  * Copyright (c) 1998-1999 by Sun Microsystems, Inc.
    3  * All rights reserved.
    4  */
    5 
    6 /*	Copyright (c) 1988 AT&T	*/
    7 /*	  All Rights Reserved  	*/
    8 
    9 /*	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T	*/
   10 /*	The copyright notice above does not evidence any   	*/
   11 /*	actual or intended publication of such source code.	*/
   12 
   13 #ifndef _SYS_MACHTYPES_H
   14 #define	_SYS_MACHTYPES_H
   15 
   16 #pragma ident	"@(#)machtypes.h	1.13	99/05/04 SMI"
   17 
   18 #include <sys/feature_tests.h>
   19 
   20 #ifdef	__cplusplus
   21 extern "C" {
   22 #endif
   23 
   24 /*
   25  * Machine dependent types:
   26  *
   27  *	SPARC Version
   28  */
   29 
   30 #if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || \
   31 	defined(__EXTENSIONS__)
   32 
   33 typedef	struct	_label_t { long val[2]; } label_t;
   34 
   35 #endif /* !defined(_POSIX_C_SOURCE)... */
   36 
   37 typedef	unsigned char	lock_t;		/* lock work for busy wait */
   38 
   39 #ifdef	__cplusplus
   40 }
   41 #endif
   42 
   43 #endif	/* _SYS_MACHTYPES_H */