diff -r 000000000000 -r ba25891c3a9e secureswitools/swisistools/source/common/toolsconf.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/secureswitools/swisistools/source/common/toolsconf.h Thu Dec 17 08:51:10 2009 +0200 @@ -0,0 +1,40 @@ +/* +* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Configure preprocessor macros according to the use platform (ie: TOOLS/TOOLS2) +* +*/ + + +/** + @file + @released + @internalTechnology +*/ + +#ifndef TOOLSCONF_H +#define TOOLSCONF_H + +#ifdef __TOOLS2__ + #define DllExport + #define GCC_COMPILER +#else + #ifdef DLLEXPORTS + #define DllExport __declspec(dllexport) + #else + #define DllExport __declspec(dllimport) + #endif // DLLEXPORTS +#endif + +#endif /* TOOLSCONF_H */