ftp.nice.ch/Attic/openStep/games/Solitaire.3.1.s.tgz#/Solitaire.3.1/Frameworks/Solitaire/externs.h

This is externs.h in view mode; [Download] [Up]

/*
** 	externs.h
**
** $Id: externs.h,v 1.1 1998/01/04 18:46:12 tthomas Exp $
*/

/*
** Make sure we do these definitions only once per compile... No
** matter if it's #imported or #included (NeXT's suggestion)
*/
#ifndef _SOLFRAMEKWORK_H
#define _SOLFRAMEKWORK_H

#ifdef WIN32

/*
** These definitions allow us to export, or import, the functions and
** variables from, or to, the Solitaire framework when it's built
** on Windoze NT.
*/

#ifndef _BUILDING_SOLFRAMEWORK
#define _SOLFRAMEWORK_DLL_REF	__declspec(dllimport)
#else
#define _SOLFRAMEWORK_DLL_REF	__declspec(dllexport)
#endif _BUILDING_SOLFRAMEWORK

#ifdef __cplusplus
#define SOLFRAMEWORK_EXTERN			_SOLFRAMEWORK_DLL_REF extern "C"
#define SOLFRAMEWORK_PRIVATE_EXTERN	extern "C"
#else
#define SOLFRAMEWORK_EXTERN			_SOLFRAMEWORK_DLL_REF extern
#define SOLFRAMEWORK_PRIVATE_EXTERN	extern
#endif __cplusplus

#else

/*
** In the event that this is being compiled, or used, on Mach, we
** have to be sure to have similar definitions so that the functions
** and variables used in this Framework don't error out.
*/

#ifdef __cplusplus
#define SOLFRAMEWORK_EXTERN			extern
#define SOLFRAMEWORK_PRIVATE_EXTERN	__private_extern
#else
#define SOLFRAMEWORK_EXTERN			extern
#define SOLFRAMEWORK_PRIVATE_EXTERN	__private_extern
#endif __cplusplus

#endif WIN32

#endif _SOLFRAMEKWORK_H

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.