// Copyright 1997-1999 Omni Development, Inc.  All rights reserved.
//
// This software may only be used and reproduced according to the
// terms in the file OmniSourceLicense.html, which should be
// distributed with this project and can also be found at
// http://www.omnigroup.com/DeveloperResources/OmniSourceLicense.html.
//
// DO NOT MODIFY THIS FILE -- IT IS AUTOGENERATED!
//
// Platform specific defines for marking data and code
// as 'extern'.
//

#ifndef _OmniNetworkingDEFINES_H
#define _OmniNetworkingDEFINES_H

//
//  OpenStep/Mach or Rhapsody
//

#if defined(__MACH__)

#ifdef __cplusplus
#define OmniNetworking_EXTERN               extern
#define OmniNetworking_PRIVATE_EXTERN       __private_extern__
#else
#define OmniNetworking_EXTERN               extern
#define OmniNetworking_PRIVATE_EXTERN       __private_extern__
#endif


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

#elif defined(WIN32)

#ifndef _NSBUILDING_OmniNetworking_DLL
#define _OmniNetworking_WINDOWS_DLL_GOOP       __declspec(dllimport)
#else
#define _OmniNetworking_WINDOWS_DLL_GOOP       __declspec(dllexport)
#endif

#ifdef __cplusplus
#define OmniNetworking_EXTERN			_OmniNetworking_WINDOWS_DLL_GOOP extern
#define OmniNetworking_PRIVATE_EXTERN		extern
#else
#define OmniNetworking_EXTERN			_OmniNetworking_WINDOWS_DLL_GOOP extern
#define OmniNetworking_PRIVATE_EXTERN		extern
#endif

//
// Standard UNIX: PDO/Solaris, PDO/HP-UX, GNUstep
//

#elif defined(sun) || defined(hpux) || defined(GNUSTEP)

#ifdef __cplusplus
#  define OmniNetworking_EXTERN               extern
#  define OmniNetworking_PRIVATE_EXTERN       extern
#else
#  define OmniNetworking_EXTERN               extern
#  define OmniNetworking_PRIVATE_EXTERN       extern
#endif

#else

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

#endif

#endif // _OmniNetworkingDEFINES_H
