>> Delete No. 13937 article
No. [질문]model.h 의 정의는 어떻게 하나여???

등록 2000-12-09 18:32:00 By localhost     조회 1
이름 송현호    

		해더파일중에 model.h라는 녀석이 있지여...
#ifndef	_SYS_MODEL_H
#define	_SYS_MODEL_H
 #pragma ident	"@(#)model.h	1.1	96/09/24 SMI"
 #ifdef	__cplusplus
extern "C" {
#endif
 /*
 *	These bits are used in various places to specify the data model
 *	of the originator (and/or consumer) of data items.  See <sys/conf.h>
 *	<sys/file.h>, <sys/stream.h> and <sys/sunddi.h>.
 */
#define	DATAMODEL_MASK	0x0FF00000
 #define	DATAMODEL_ILP32	0x00100000
#define	DATAMODEL_LP64	0x00200000
 #define	DATAMODEL_NONE	0
 #if	defined(_LP64)
#define	DATAMODEL_NATIVE	DATAMODEL_LP64
#elif	defined(_ILP32)
#define	DATAMODEL_NATIVE	DATAMODEL_ILP32
#else
#error	"No DATAMODEL_NATIVE specified"
#endif	/* _LP64 || _ILP32 */
 #ifdef	__cplusplus
}
#endif
 #endif	/* _SYS_MODEL_H */
 자꾸 #error "No DATAMODEL_NATIVE specified" 이 문구만
뜨고 컴파일이 않되는데 어째서 인가여...
제가 정의를 어떤 부분을 해주면 되는지여...
알려주셍...
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved