* basetyps.h (GUID_SECT): Define to nothing for GCC >= 2.95.
This commit is contained in:
parent
e30ffa5bdd
commit
b06a028bf0
|
@ -1,3 +1,7 @@
|
||||||
|
2004-03-02 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
|
* basetyps.h (GUID_SECT): Define to nothimg for GCC >= 2.95.
|
||||||
|
|
||||||
2004-03-02 Martin Fuchs <martin-fuchs@gmx.net>
|
2004-03-02 Martin Fuchs <martin-fuchs@gmx.net>
|
||||||
|
|
||||||
* include/oleauto.h (VAR_VALIDDATE, VAR_FORMAT_NOSUBSTITUTE,
|
* include/oleauto.h (VAR_VALIDDATE, VAR_FORMAT_NOSUBSTITUTE,
|
||||||
|
|
|
@ -146,7 +146,10 @@ typedef unsigned long PROPID;
|
||||||
#ifndef GUID_SECTION
|
#ifndef GUID_SECTION
|
||||||
#define GUID_SECTION ".text"
|
#define GUID_SECTION ".text"
|
||||||
#endif
|
#endif
|
||||||
#ifdef __GNUC__
|
/* Explicit naming of .text section for readonly data is only
|
||||||
|
needed for older GGC (pre-2.95).
|
||||||
|
More recent (3.4) GCC puts readonly data in .rdata. */
|
||||||
|
#if defined (__GNUC__) && (__GNUC__ <= 2 && __GNUC_MINOR__ < 95)
|
||||||
#define GUID_SECT __attribute__ ((section (GUID_SECTION)))
|
#define GUID_SECT __attribute__ ((section (GUID_SECTION)))
|
||||||
#else
|
#else
|
||||||
#define GUID_SECT
|
#define GUID_SECT
|
||||||
|
|
Loading…
Reference in New Issue