#ifdef __i386__
# if defined(__GNUC__) && ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)))
-# ifndef _EGCS_
+# ifndef _EGCS_
#define __stdcall __attribute__((__stdcall__))
#define __cdecl __attribute__((__cdecl__))
# define __RESTORE_ES __asm__ __volatile__("pushl %ds\n\tpopl %es")
# else
// # error You need gcc >= 2.7 to build Wine on a 386
# endif
-#else
+#else
# define __stdcall
# define __cdecl
# define __RESTORE_ES
#ifdef STRICT
#define DECLARE_HANDLE(a) \
- typedef struct a##__ { int unused; } *a; \
- typedef a *P##a; \
- typedef a *LP##a
+ typedef struct a##__ { int unused; } *a; \
+ typedef a *P##a; \
+ typedef a *LP##a
#else /*STRICT*/
#define DECLARE_HANDLE(a) \
- typedef HANDLE a; \
- typedef a *P##a; \
- typedef a *LP##a
+ typedef HANDLE a; \
+ typedef a *P##a; \
+ typedef a *LP##a
#endif /*STRICT*/
DECLARE_HANDLE(HACMDRIVERID);
typedef UINT16 *LPUINT16;
#define DECLARE_HANDLE16(a) \
- typedef HANDLE16 a##16; \
- typedef a##16 *P##a##16; \
- typedef a##16 *NP##a##16; \
- typedef a##16 *LP##a##16
+ typedef HANDLE16 a##16; \
+ typedef a##16 *P##a##16; \
+ typedef a##16 *NP##a##16; \
+ typedef a##16 *LP##a##16
DECLARE_HANDLE16(HACMDRIVERID);
DECLARE_HANDLE16(HACMDRIVER);
/* Macros to access unaligned or wrong-endian WORDs and DWORDs. */
/* Note: These macros are semantically broken, at least for wrc. wrc
- spits out data in the platform's current binary format, *not* in
+ spits out data in the platform's current binary format, *not* in
little-endian format. These macros are used throughout the resource
- code to load and store data to the resources. Since it is unlikely
- that we'll ever be dealing with little-endian resource data, the
- byte-swapping nature of these macros has been disabled. Rather than
+ code to load and store data to the resources. Since it is unlikely
+ that we'll ever be dealing with little-endian resource data, the
+ byte-swapping nature of these macros has been disabled. Rather than
remove the use of these macros from the resource loading code, the
- macros have simply been disabled. In the future, someone may want
+ macros have simply been disabled. In the future, someone may want
to reactivate these macros for other purposes. In that case, the
- resource code will have to be modified to use different macros. */
+ resource code will have to be modified to use different macros. */
#if 1
#define PUT_WORD(ptr,w) (*(WORD *)(ptr) = (w))
typedef struct tagPOINTS
{
- SHORT x;
- SHORT y;
+ SHORT x;
+ SHORT y;
} POINTS, *PPOINTS, *LPPOINTS;
typedef struct tagRECTL
{
LONG left;
- LONG top;
+ LONG top;
LONG right;
LONG bottom;
} RECTL, *PRECTL, *LPRECTL;