This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/Borland/BCC55/Include/polarity.h

43 lines
883 B
C

#pragma option push -b -a8 -pc -A- /*P_O_Push*/
/*++
Copyright (C) 1999 Microsoft Corporation
Module Name:
POLARITY.H
Abstract:
properly map __declspec( dllexport ) or import
History:
--*/
#if _MSC_VER > 1000
#pragma once
#endif
// If we are building a the DLL then define the
// class as exported otherwise it's imported
// ============================================
#ifndef POLARITY_HEADERFILE_IS_INCLUDED
#define POLARITY_HEADERFILE_IS_INCLUDED
//#pragma message( "Including Polarity.h..." )
#ifdef USE_POLARITY
#ifdef BUILDING_DLL
// #pragma message( "Building static library or DLL..." )
#define POLARITY __declspec( dllexport )
#else
// #pragma message( "Building Provider..." )
#define POLARITY __declspec( dllimport )
#endif
#else
#define POLARITY
// #pragma message( "NO Polarity...")
#endif
#endif
#pragma option pop /*P_O_Pop*/