view loader/wine/winestring.h @ 37183:eaa58d991a06

Use intptr_t to cast a pointer. Avoids warnings especially when compiling for 64-bit Windows. Patch by Stephen Sheldon [sfsheldo gmail].
author reimar
date Wed, 17 Sep 2014 16:55:09 +0000
parents 494c251bd39e
children
line wrap: on
line source

#ifndef MPLAYER_WINESTRING_H
#define MPLAYER_WINESTRING_H

#include <strings.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 */