|
Last change
on this file since 22145 was 22089, checked in by rousseau, 11 years ago |
|
Probably fixed duplicate symbols with OLE ID's
On Win32 these symbols are generated in the '.data' section of the
resulting COFF32 object-module. Linking them does not introduce
duplicate symbol definitions.
On OS/2 they are generated in the '.text' section of the resulting a.out
object-module. This causes the 'weak pre-linker' to abort on duplicate
symbols. One way to work-around this is to use the 'wl.exe' linker
directly, after conversion to OMF, which treats them as warnings.
The solution in this fix hides the symbols by reducing their visibility
to module-scope. It has not yet been determined if this fix is adequate.
|
|
File size:
598 bytes
|
| Line | |
|---|
| 1 | /* $Id: initguid.h,v 1.1 1999-05-24 20:19:13 ktk Exp $ */
|
|---|
| 2 |
|
|---|
| 3 | /*
|
|---|
| 4 | * defines a minimum set of macros create GUID's to keep the size
|
|---|
| 5 | * small
|
|---|
| 6 | *
|
|---|
| 7 | * this file should be included into "only GUID definition *.h" like
|
|---|
| 8 | * shlguid.h
|
|---|
| 9 | */
|
|---|
| 10 |
|
|---|
| 11 | #ifndef __INIT_GUID_H
|
|---|
| 12 | #define __INIT_GUID_H
|
|---|
| 13 |
|
|---|
| 14 | #include "wtypes.h"
|
|---|
| 15 |
|
|---|
| 16 | /*****************************************************************************
|
|---|
| 17 | * Macros to declare the GUIDs
|
|---|
| 18 | */
|
|---|
| 19 | #undef DEFINE_GUID
|
|---|
| 20 |
|
|---|
| 21 | #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
|
|---|
| 22 | static const GUID name = \
|
|---|
| 23 | { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
|
|---|
| 24 |
|
|---|
| 25 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.