add: support for gcc for windows added

This commit is contained in:
Martin Hollmichel 2001-08-15 02:35:15 +00:00
parent 01777a84aa
commit 9017e97667
2 changed files with 7 additions and 5 deletions

View file

@ -2,9 +2,9 @@
*
* $RCSfile: config.h,v $
*
* $Revision: 1.8 $
* $Revision: 1.9 $
*
* last change: $Author: hro $ $Date: 2001-06-26 16:58:22 $
* last change: $Author: mh $ $Date: 2001-08-15 03:35:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -82,6 +82,7 @@ extern "C" {
#define SAL_CONFIGFILE( name ) name ".ini"
#define SAL_SYSCONFIGFILE( name ) name ".ini"
#ifdef __MSC_VER
/* No warning for: C++ Exception Specification ignored */
#pragma warning( disable : 4290 )
@ -91,6 +92,7 @@ extern "C" {
#endif
#endif
#endif
/* BR: 16bit fuer Borland-Compiler */
#ifdef __BORLANDC__

View file

@ -2,9 +2,9 @@
*
* $RCSfile: types.h,v $
*
* $Revision: 1.13 $
* $Revision: 1.14 $
*
* last change: $Author: dbo $ $Date: 2001-05-17 13:04:06 $
* last change: $Author: mh $ $Date: 2001-08-15 03:35:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -111,7 +111,7 @@ typedef unsigned long sal_Size;
#define SAL_MAX_ENUM 0x7fff
#endif
#ifdef _MSC_VER
#if defined(_MSC_VER) || (defined(WNT) && defined(__GNUC__))
# define SAL_DLLEXPORT __declspec(dllexport)
# define SAL_CALL __cdecl
# define SAL_CALL_ELLIPSE __cdecl