summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/osl/w32/module.cxx2
-rw-r--r--sal/systools/win32/uwinapi/Uwinapi.h5
2 files changed, 0 insertions, 7 deletions
diff --git a/sal/osl/w32/module.cxx b/sal/osl/w32/module.cxx
index cc20089b18a2..1171401fe0c1 100644
--- a/sal/osl/w32/module.cxx
+++ b/sal/osl/w32/module.cxx
@@ -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 )
diff --git a/sal/systools/win32/uwinapi/Uwinapi.h b/sal/systools/win32/uwinapi/Uwinapi.h
index 45a8645f43e4..2929729fe5db 100644
--- a/sal/systools/win32/uwinapi/Uwinapi.h
+++ b/sal/systools/win32/uwinapi/Uwinapi.h
@@ -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