Changeset 3318 for trunk/include


Ignore:
Timestamp:
Apr 5, 2000, 4:17:01 PM (25 years ago)
Author:
sandervl
Message:

nameless union fixes

Location:
trunk/include/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/mmsystem.h

    r2606 r3318  
    1 /* $Id: mmsystem.h,v 1.6 2000-02-03 13:26:22 sandervl Exp $ */
     1/* $Id: mmsystem.h,v 1.7 2000-04-05 14:17:00 sandervl Exp $ */
    22/*
    33 * MMSYSTEM - Multimedia Wine Extension ... :-)
     
    1616   
    1717#include "pshpack1.h"
     18
     19//#ifndef NONAMELESSSTRUCT
     20//#define DUMMYSTRUCTNAME
     21//#define DUMMYSTRUCTNAME1
     22//#define DUMMYSTRUCTNAME2
     23//#define DUMMYSTRUCTNAME3
     24//#define DUMMYSTRUCTNAME4
     25//#define DUMMYSTRUCTNAME5
     26//#else /* !defined(NONAMELESSSTRUCT) */
     27#define DUMMYSTRUCTNAME   s
     28#define DUMMYSTRUCTNAME1  s1
     29#define DUMMYSTRUCTNAME2  s2
     30#define DUMMYSTRUCTNAME3  s3
     31#define DUMMYSTRUCTNAME4  s4
     32#define DUMMYSTRUCTNAME5  s5
     33#undef DUMMYUNIONNAME
     34#undef DUMMYUNIONNAME1
     35#undef DUMMYUNIONNAME2
     36#undef DUMMYUNIONNAME3
     37#undef DUMMYUNIONNAME4
     38#undef DUMMYUNIONNAME5
     39#define DUMMYUNIONNAME   u
     40#define DUMMYUNIONNAME1  u1
     41#define DUMMYUNIONNAME2  u2
     42#define DUMMYUNIONNAME3  u3
     43#define DUMMYUNIONNAME4  u4
     44#define DUMMYUNIONNAME5  u5
     45
     46//#endif /* !defined(NONAMELESSSTRUCT) */
    1847   
    1948#define MAXWAVEDRIVERS  10
  • trunk/include/win/windef.h

    r3304 r3318  
    1 /* $Id: windef.h,v 1.22 2000-04-02 14:51:42 sandervl Exp $ */
     1/* $Id: windef.h,v 1.23 2000-04-05 14:17:01 sandervl Exp $ */
    22
    33/*
     
    665665} DECIMAL;
    666666
    667 #ifndef NONAMELESSSTRUCT
    668 # if defined(__WINE__) || !defined(_FORCENAMELESSSTRUCT)
    669 #  define NONAMELESSSTRUCT
    670 # endif
    671 #endif /* !defined(NONAMELESSSTRUCT) */
    672 
    673 #ifndef NONAMELESSUNION
    674 # if defined(__WINE__) || !defined(_FORCENAMELESSUNION) || !defined(__cplusplus)
    675 #  define NONAMELESSUNION
    676 # endif
    677 #endif /* !defined(NONAMELESSUNION) */
    678 
    679 #ifndef NONAMELESSSTRUCT
    680 #define DUMMYSTRUCTNAME
    681 #define DUMMYSTRUCTNAME1
    682 #define DUMMYSTRUCTNAME2
    683 #define DUMMYSTRUCTNAME3
    684 #define DUMMYSTRUCTNAME4
    685 #define DUMMYSTRUCTNAME5
    686 #else /* !defined(NONAMELESSSTRUCT) */
    687 #define DUMMYSTRUCTNAME   s
    688 #define DUMMYSTRUCTNAME1  s1
    689 #define DUMMYSTRUCTNAME2  s2
    690 #define DUMMYSTRUCTNAME3  s3
    691 #define DUMMYSTRUCTNAME4  s4
    692 #define DUMMYSTRUCTNAME5  s5
    693 #endif /* !defined(NONAMELESSSTRUCT) */
    694 
    695 #ifndef NONAMELESSUNION
    696 #define DUMMYUNIONNAME
    697 #define DUMMYUNIONNAME1
    698 #define DUMMYUNIONNAME2
    699 #define DUMMYUNIONNAME3
    700 #define DUMMYUNIONNAME4
    701 #define DUMMYUNIONNAME5
    702 #else /* !defined(NONAMELESSUNION) */
    703 #define DUMMYUNIONNAME   u
    704 #define DUMMYUNIONNAME1  u1
    705 #define DUMMYUNIONNAME2  u2
    706 #define DUMMYUNIONNAME3  u3
    707 #define DUMMYUNIONNAME4  u4
    708 #define DUMMYUNIONNAME5  u5
    709 #endif /* !defined(NONAMELESSUNION) */
    710 
    711667#ifdef __cplusplus
    712668}
Note: See TracChangeset for help on using the changeset viewer.