view loader/wine/winestring.h @ 34810:e48338dbd0cb

Align glMapBuffer result. Mesa for some silly reason returns a pointer that is only 8 byte aligned. Fixes -dr and force-pbo crashes (on e.g. x86) and bad output (on e.g. PPC).
author reimar
date Mon, 14 May 2012 19:31:59 +0000
parents a8ea87c71d18
children 494c251bd39e
line wrap: on
line source

#ifndef MPLAYER_WINESTRING_H
#define MPLAYER_WINESTRING_H

#include "windef.h"

LPWSTR      WINAPI lstrcpyAtoW(LPWSTR,LPCSTR);
LPSTR       WINAPI lstrcpyWtoA(LPSTR,LPCWSTR);
LPWSTR      WINAPI lstrcpynAtoW(LPWSTR,LPCSTR,INT);
LPSTR       WINAPI lstrcpynWtoA(LPSTR,LPCWSTR,INT);

#define lstrncmpiA strncasecmp

#endif /* MPLAYER_WINESTRING_H */