summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-09-14 05:56:54 (GMT)
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-09-14 08:49:19 (GMT)
commita13c3a68df9327d3a1d0283006a3cf755291484a (patch)
tree4e4f54e7bb8af1514cf5ad8a6cbfda9591fbe2ce
parent2dfe34ce0efef6ec0412130a32f755657710363d (diff)
removed unused sal macro (SAL_FIELDOFFSET)
Change-Id: I5b4b70ecc87efc943afe8a408140ef91e108e0a3
-rw-r--r--sal/inc/sal/macros.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sal/inc/sal/macros.h b/sal/inc/sal/macros.h
index a1f42c3..5ccdee3 100644
--- a/sal/inc/sal/macros.h
+++ b/sal/inc/sal/macros.h
@@ -39,10 +39,6 @@
# define SAL_MIN(a,b) (((a) < (b)) ? (a) : (b))
#endif
-#ifndef SAL_FIELDOFFSET
-# define SAL_FIELDOFFSET(type, field) ((sal_Int32)(&((type *)16)->field) - 16)
-#endif
-
#ifndef SAL_N_ELEMENTS
# if defined(__cplusplus) && ( defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L )
/*