You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.3 KiB
53 lines
1.3 KiB
#ifndef __glumystdlib_h_
|
|
#define __glumystdlib_h_
|
|
/**************************************************************************
|
|
* *
|
|
* Copyright (C) 1992, Silicon Graphics, Inc. *
|
|
* *
|
|
* These coded instructions, statements, and computer programs contain *
|
|
* unpublished proprietary information of Silicon Graphics, Inc., and *
|
|
* are protected by Federal copyright law. They may not be disclosed *
|
|
* to third parties or copied or duplicated in any form, in whole or *
|
|
* in part, without the prior written consent of Silicon Graphics, Inc. *
|
|
* *
|
|
**************************************************************************/
|
|
|
|
/*
|
|
* mystdlib.h - $Revision: 1.1 $
|
|
*/
|
|
|
|
#ifdef STANDALONE
|
|
#ifndef _SIZE_T_DEFINED
|
|
#ifdef _WIN64
|
|
typedef unsigned __int64 size_t;
|
|
#else
|
|
typedef unsigned int size_t;
|
|
#endif
|
|
#define _SIZE_T_DEFINED
|
|
#endif
|
|
|
|
extern "C" void abort( void );
|
|
extern "C" void * malloc( size_t );
|
|
extern "C" void free( void * );
|
|
#endif
|
|
|
|
#ifdef LIBRARYBUILD
|
|
#include <stdlib.h>
|
|
#endif
|
|
|
|
#ifdef GLBUILD
|
|
#ifndef _SIZE_T_DEFINED
|
|
#ifdef _WIN64
|
|
typedef unsigned __int64 size_t;
|
|
#else
|
|
typedef unsigned int size_t;
|
|
#endif
|
|
#define _SIZE_T_DEFINED
|
|
#endif
|
|
|
|
extern "C" void abort( void );
|
|
extern "C" void * malloc( size_t );
|
|
extern "C" void free( void * );
|
|
#endif
|
|
|
|
#endif /* __glumystdlib_h_ */
|