Kaydet (Commit) 619f7da8 authored tarafından Kenneth Venken's avatar Kenneth Venken Kaydeden (comit) Norbert Thiebaud

remove unused macro bufsizeof

üst efb74ad1
......@@ -393,8 +393,6 @@ typedef BOOL (WINAPI *GetModuleInformation_PROC)(
DWORD cb // size of the structure
);
#define bufsizeof(buffer) (sizeof(buffer) / sizeof((buffer)[0]))
/* This version can fail because PSAPI.DLL is not always part of NT 4 despite MSDN Libary 6.0a say so */
static sal_Bool SAL_CALL _osl_addressGetModuleURL_NT( void *pv, rtl_uString **pustrURL )
......
......@@ -47,11 +47,6 @@ EXTERN_C WINBASEAPI LPWSTR WINAPI lstrrchrW( LPCWSTR lpString, WCHAR c );
#define lstrchr lstrchrA
#endif
// macro that calculates the count of elements of a static array
#define bufsizeof(buf) (sizeof(buf) / sizeof((buf)[0]))
#define IsValidHandle(Handle) ((DWORD)(Handle) + 1 > 1)
#ifdef __cplusplus
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment