summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/ddk/winddk.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/w32api/include/ddk/winddk.h')
-rw-r--r--winsup/w32api/include/ddk/winddk.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/winsup/w32api/include/ddk/winddk.h b/winsup/w32api/include/ddk/winddk.h
index c9dabbb52..123a44a73 100644
--- a/winsup/w32api/include/ddk/winddk.h
+++ b/winsup/w32api/include/ddk/winddk.h
@@ -3967,14 +3967,9 @@ KefReleaseSpinLockFromDpcLevel(
* IN PCHAR Field);
*/
#ifndef FIELD_OFFSET
-#ifdef __cplusplus
-#define FIELD_OFFSET(Type, Field) (reinterpret_cast<LONG> \
- (&reinterpret_cast<char&>(static_cast<Type *>(0)->Field)))
-#else
#define FIELD_OFFSET(Type, Field) \
((LONG) (&(((Type *) 0)->Field)))
#endif
-#endif
/*
* PVOID