Skip to content

Commit e6bcf2e

Browse files
committed
more typedef-s for linux
1 parent 30ebe21 commit e6bcf2e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/Common/PlatformLinux.inl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,19 @@ typedef unsigned char* LPBYTE;
102102
typedef unsigned int UINT;
103103
typedef int INT;
104104
typedef long LONG;
105+
typedef unsigned long ULONG;
106+
typedef unsigned long& ULONG_PTR;
107+
typedef long long int LARGE_INTEGER;
108+
typedef unsigned long long int ULARGE_INTEGER;
105109

106110
typedef unsigned short WORD;
107111
typedef unsigned short* LPWORD;
108112
typedef unsigned long DWORD;
109113
typedef unsigned long* LPDWORD;
110114
typedef const void *LPCVOID;
115+
typedef long long int *PLARGE_INTEGER;
116+
117+
typedef wchar_t WCHAR;
111118

112119
#define WAVE_FORMAT_PCM 0x0001
113120

@@ -119,7 +126,7 @@ typedef struct {
119126
WORD nBlockAlign;
120127
WORD wBitsPerSample;
121128
WORD cbSize;
122-
} WAVEFORMATEX;
129+
} WAVEFORMATEX, *LPWAVEFORMATEX;
123130

124131
typedef struct _EXCEPTION_POINTERS {
125132
} EXCEPTION_POINTERS, *PEXCEPTION_POINTERS;
@@ -184,6 +191,7 @@ typedef dirent DirEntryType;
184191

185192
#define _stricmp stricmp
186193
#define strcmpi stricmp
194+
#define lstrcpy strcpy
187195
#define stricmp strcasecmp
188196
#define strncpy_s(dest, size, source, num) strncpy(dest, source, num)
189197
#define strcpy_s(dest, num, source) strcpy(dest, source)

0 commit comments

Comments
 (0)