windows-nt/Source/XPSP1/NT/public/sdk/inc/polarity.h

41 lines
800 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*++
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 the DLL then define the
// class as exported otherwise as 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