home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
graphics
/
audio
/
midiplyr
/
global.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-10-05
|
1KB
|
48 lines
/*****************************************************************************
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
* ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
* TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR
* A PARTICULAR PURPOSE.
*
* Copyright (C) 1993 - 1997 Microsoft Corporation. All Rights Reserved.
*
******************************************************************************
*
* Global.H
*
* #define's everybody needs
*
*****************************************************************************/
#ifndef _GLOBAL_
#define _GLOBAL_
#ifndef _WIN32
#define BCODE __based(__segname("_CODE"))
#define BSTACK __based(__segname("_STACK"))
#define BSEG(x) __based(__segname(x))
#define HUGE __huge
#else
#define BCODE
#define BSTACK
#define BSEG(x)
#define HUGE
#endif
/* Allow visibility of static functions for debug
*/
#ifdef DEBUG
#define PUBLIC
#define PRIVATE
#else
#define PUBLIC
#define PRIVATE static
#endif
#define FNLOCAL NEAR PASCAL
#define FNGLOBAL FAR PASCAL
#define FNEXPORT FAR PASCAL __export __loadds
#endif