Changeset 10628 for trunk/include


Ignore:
Timestamp:
Oct 8, 2004, 11:01:57 AM (21 years ago)
Author:
cinc
Message:

Updated V_DECIMAL(A) macro to (working) Wine level.

File:
1 edited

Legend:

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

    r6573 r10628  
    163163#define V_ARRAYREF(A)    V_UNION(A, pparray)
    164164#define V_BYREF(A)               V_UNION(A, byref)
     165#if (__STDC__ && !defined(_FORCENAMELESSUNION)) || defined(NONAMELESSUNION)
     166#define V_DECIMAL(A)     ((A)->n1.decVal)
     167#else
     168#define V_DECIMAL(A)     ((A)->decVal)
     169#endif
    165170#define V_DECIMAL(A)     V_UNION(A, decVal)
    166171#define V_DECIMALREF(A)  V_UNION(A, pdecVal)
     172
     173#ifndef LOCALE_USE_NLS
     174/* This is missing from native winnls.h, but may be added at some point */
     175#define LOCALE_USE_NLS          0x10000000
     176#endif
     177
    167178
    168179/*
Note: See TracChangeset for help on using the changeset viewer.