// Copyright 1997-1998 Omni Development, Inc.  All rights reserved.
//
// DO NOT MODIFY THIS FILE -- IT IS AUTOGENERATED!
//
// Platform specific defines for marking data and code
// as 'extern'.
//

#ifndef _OmniFoundationDEFINES_H
#define _OmniFoundationDEFINES_H

//
//  OpenStep/Mach or Rhapsody
//

#if defined(__MACH__)

#ifdef __cplusplus
#define OmniFoundation_EXTERN               extern
#define OmniFoundation_PRIVATE_EXTERN       __private_extern__
#else
#define OmniFoundation_EXTERN               extern
#define OmniFoundation_PRIVATE_EXTERN       __private_extern__
#endif


//
//  OpenStep/NT, YellowBox/NT, and YellowBox/95
//

#elif defined(WIN32)

#ifndef _NSBUILDING_OmniFoundation_DLL
#define _OmniFoundation_WINDOWS_DLL_GOOP       __declspec(dllimport)
#else
#define _OmniFoundation_WINDOWS_DLL_GOOP       __declspec(dllexport)
#endif

#ifdef __cplusplus
#define OmniFoundation_EXTERN			_OmniFoundation_WINDOWS_DLL_GOOP extern
#define OmniFoundation_PRIVATE_EXTERN		extern
#else
#define OmniFoundation_EXTERN			_OmniFoundation_WINDOWS_DLL_GOOP extern
#define OmniFoundation_PRIVATE_EXTERN		extern
#endif



//
//  PDO/Solaris
//

#elif defined(sun)

#ifdef __cplusplus
#  define OmniFoundation_EXTERN               extern
#  define OmniFoundation_PRIVATE_EXTERN       extern
#else
#  define OmniFoundation_EXTERN               extern
#  define OmniFoundation_PRIVATE_EXTERN       extern
#endif

//
// PDO/HP-UX
//

#elif defined(hpux)

#ifdef __cplusplus
#  define OmniFoundation_EXTERN               extern
#  define OmniFoundation_PRIVATE_EXTERN       extern
#else
#  define OmniFoundation_EXTERN               extern
#  define OmniFoundation_PRIVATE_EXTERN       extern
#endif

#else

#error Do not know how to define extern on this platform

#endif

#endif // _OmniFoundationDEFINES_H
